Commit db6fb490 authored by Mike Greiling's avatar Mike Greiling

use a less memory-intensive sourcemap when running in CI

parent 6056cddb
......@@ -54,7 +54,7 @@ var config = {
filename: IS_PRODUCTION ? '[name].[chunkhash].bundle.js' : '[name].bundle.js'
},
devtool: 'inline-source-map',
devtool: 'cheap-module-source-map',
module: {
rules: [
......@@ -166,6 +166,7 @@ if (IS_PRODUCTION) {
}
if (IS_DEV_SERVER) {
config.devtool = 'cheap-module-eval-source-map';
config.devServer = {
port: DEV_SERVER_PORT,
headers: { 'Access-Control-Allow-Origin': '*' },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment