From 8e9689b7734c02be12a467f9a35b4e95bb5c3dda Mon Sep 17 00:00:00 2001 From: Rich-Harris Date: Sat, 7 Jan 2017 19:00:52 -0500 Subject: [PATCH] run modules in order --- src/Bundle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); });