Created
          October 13, 2017 12:42 
        
      - 
      
- 
        Save tomdale/6f41c47bff1e188140d3ef0dd4a01636 to your computer and use it in GitHub Desktop. 
    Disable packaging with Rollup in Glimmer.js and build JS modules
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | '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