mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
make sure karma runs tests in dev mode to speed up build
This commit is contained in:
parent
b7843a5d46
commit
9e916cdd5c
@ -32,6 +32,9 @@ const olm_entry = webpack_config.entry['olm'];
|
|||||||
// 'preprocessors' config below)
|
// 'preprocessors' config below)
|
||||||
delete webpack_config['entry'];
|
delete webpack_config['entry'];
|
||||||
|
|
||||||
|
// make sure we're flagged as development to avoid wasting time optimising
|
||||||
|
webpack_config.mode = 'development';
|
||||||
|
|
||||||
// add ./test as a search path for js
|
// add ./test as a search path for js
|
||||||
webpack_config.module.rules.unshift({
|
webpack_config.module.rules.unshift({
|
||||||
test: /\.js$/, use: "babel-loader",
|
test: /\.js$/, use: "babel-loader",
|
||||||
|
Loading…
Reference in New Issue
Block a user