Why are all the `*.js` files from `webpack.config....
# javascript
r
Why are all the
*.js
files from
webpack.config.d
inlined into generated
karma.conf.js
when running
build
or
test
task? These files are for
webpack.config.js
and karma config is completely different .
i
It is necessary because before we can test js code in browser, we should prepare it and bundle via webpack So logically all settings for webpack to include for test preparing via webpack too.