Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@tomdale
Created October 13, 2017 12:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomdale/6f41c47bff1e188140d3ef0dd4a01636 to your computer and use it in GitHub Desktop.
Save tomdale/6f41c47bff1e188140d3ef0dd4a01636 to your computer and use it in GitHub Desktop.
Disable packaging with Rollup in Glimmer.js and build JS modules
'use strict';
const GlimmerApp = require('@glimmer/application-pipeline').GlimmerApp;
class ModuleApp extends GlimmerApp {
package(tree) {
return tree;
}
}
module.exports = function(defaults) {
let app = new ModuleApp(defaults, {
// Add options here
});
return app.toTree();
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment