Commit bf305c3d authored by Clement Ho's avatar Clement Ho

Merge branch 'simple-ci-sourcemaps' into 'master'

Use a less memory-intensive sourcemap when running in CI

See merge request !10460
parents d3ab818c 55040241
...@@ -52,7 +52,7 @@ var config = { ...@@ -52,7 +52,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: [
...@@ -163,6 +163,7 @@ if (IS_PRODUCTION) { ...@@ -163,6 +163,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