Initial work on new framework

This commit is contained in:
Berkeley Martinez
2016-05-06 13:20:18 -07:00
parent b6f9cfdf71
commit 861f89683b
7 changed files with 220 additions and 3 deletions

View File

@@ -39,16 +39,16 @@ module.exports = {
]
},
externals: {
'codemirror': 'CodeMirror'
codemirror: 'CodeMirror'
},
plugins: [
new webpack.optimize.DedupePlugin(),
new webpack.optimize.OccurenceOrderPlugin(true),
new webpack.DefinePlugin({
'process.env': {
'NODE_ENV': JSON.stringify(__DEV__ ? 'development' : 'production')
NODE_ENV: JSON.stringify(__DEV__ ? 'development' : 'production')
},
'__DEVTOOLS__': !__DEV__
__DEVTOOLS__: !__DEV__
})
]
};