fix webpack

This commit is contained in:
willyb321
2018-04-14 09:51:46 +10:00
parent bd95e2c5a5
commit fbeb6237cf
2 changed files with 1 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ CopyDirPlugin.prototype.apply = function(compiler) {
};
module.exports = {
devtool: 'source-map',
devtool: 'eval',
devServer: {
headers: { "Access-Control-Allow-Origin": "*" }
},

View File

@@ -23,7 +23,6 @@ module.exports = {
app: ['babel-polyfill', path.resolve(__dirname, 'src/app/index')],
lib: ['d3', 'react', 'react-dom', 'classnames', 'fbemitter', 'lz-string']
},
devtool: 'source-map',
resolve: {
extensions: ['.js', '.jsx', '.json', '.less']
},