diff --git a/src/Bundle.js b/src/Bundle.js index 4636a6c..8b8c058 100644 --- a/src/Bundle.js +++ b/src/Bundle.js @@ -151,7 +151,7 @@ export default class Bundle { // mark statements that should appear in the bundle if ( this.treeshake ) { - this.modules.forEach( module => { + this.orderedModules.forEach( module => { module.run(); });