We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be80ba2 commit 230b248Copy full SHA for 230b248
3 files changed
.babelrc
@@ -4,7 +4,7 @@
4
"targets": {
5
"browsers": ["last 2 versions", "safari >= 7"]
6
},
7
- "modules": false
+ "loose": true
8
}]
9
],
10
"plugins": [
src/index.js
@@ -1,3 +1 @@
1
-import RootModule from './app/root.module';
2
-
3
-export default RootModule;
+System.import(/* webpackChunkName: "app" */ './app/root.module');
webpack.base.conf.js
@@ -85,6 +85,8 @@ module.exports = {
85
86
87
plugins: [
88
+ new webpack.optimize.ModuleConcatenationPlugin(),
89
+
90
new webpack.optimize.CommonsChunkPlugin({
91
name : 'vendor',
92
minChunks : (module) => isExternal(module)
0 commit comments