Hello everyone,
Previously, we could use ‹require› to import a module.
var { require } = Cu.import("resource://gre/modules/commonjs/toolkit/require.js", {});
var mymodule = require("resource://myextension/mymodule.js");
But in Thunderbird Beta,
resource://gre/modules/commonjs/toolkit/require.js
doesn’t seem to exist anymore.