Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ module.exports = function makeWebpackConfig() {
* Should be an empty object if it's generating a test build
* Karma will set this when it's a test build
*/
config.entry = isTest ? {} : {
config.entry = isTest ? void 0 : {
app: './src/app/app.js'
};

Expand Down Expand Up @@ -102,7 +102,7 @@ module.exports = function makeWebpackConfig() {
// Reference: https://github.com/webpack/style-loader
// Use style-loader in development.

loader: isTest ? 'null' : ExtractTextPlugin.extract({
loader: isTest ? 'null-loader' : ExtractTextPlugin.extract({
fallbackLoader: 'style-loader',
loader: [
{loader: 'css-loader', query: {sourceMap: true}},
Expand Down Expand Up @@ -139,7 +139,7 @@ module.exports = function makeWebpackConfig() {
/node_modules/,
/\.spec\.js$/
],
loader: 'istanbul-instrumenter',
loader: 'istanbul-instrumenter-loader',
query: {
esModules: true
}
Expand Down