mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-08 22:33:24 +00:00
source map
This commit is contained in:
@@ -18,7 +18,7 @@ CopyDirPlugin.prototype.apply = function(compiler) {
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
devtool: 'eval',
|
||||
devtool: 'source-map',
|
||||
devServer: {
|
||||
headers: { "Access-Control-Allow-Origin": "*" }
|
||||
},
|
||||
|
||||
@@ -23,6 +23,7 @@ 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']
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user