Commit 55040241 authored by Mike Greiling's avatar Mike Greiling

use a less memory-intensive sourcemap when running in CI

parent 4dd841c9
......@@ -52,7 +52,7 @@ var config = {
filename: IS_PRODUCTION ? '[name].[chunkhash].bundle.js' : '[name].bundle.js'
},
devtool: 'inline-source-map',
devtool: 'cheap-module-source-map',
module: {
rules: [
......@@ -163,6 +163,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