Commit 0cf67a93 authored by Mike Greiling's avatar Mike Greiling

Merge branch 'refactor_simulate_drag-ee' into 91-milestone-burndown-charts

* refactor_simulate_drag-ee:
  use a less memory-intensive sourcemap when running in CI
parents aa04757a db6fb490
...@@ -55,7 +55,7 @@ var config = { ...@@ -55,7 +55,7 @@ var config = {
filename: IS_PRODUCTION ? '[name].[chunkhash].bundle.js' : '[name].bundle.js' filename: IS_PRODUCTION ? '[name].[chunkhash].bundle.js' : '[name].bundle.js'
}, },
devtool: 'inline-source-map', devtool: 'cheap-module-source-map',
module: { module: {
rules: [ rules: [
...@@ -168,6 +168,7 @@ if (IS_PRODUCTION) { ...@@ -168,6 +168,7 @@ if (IS_PRODUCTION) {
} }
if (IS_DEV_SERVER) { if (IS_DEV_SERVER) {
config.devtool = 'cheap-module-eval-source-map';
config.devServer = { config.devServer = {
port: DEV_SERVER_PORT, port: DEV_SERVER_PORT,
headers: { 'Access-Control-Allow-Origin': '*' }, 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