Fix webpack config

This commit is contained in:
daniel-j 2017-04-11 22:00:45 +02:00
parent 2dadd9c3af
commit 035ff350b4

View file

@ -19,7 +19,7 @@ const bundleExtensionConfig = {
rules: [
{
test: /\.js$/,
use: 'babel-loader',
loader: 'babel-loader',
exclude: /node_modules/,
query: {
sourceMaps: true,
@ -68,7 +68,7 @@ const bundleNpmModuleConfig = {
rules: [
{
test: /\.js$/,
use: 'babel-loader',
loader: 'babel-loader',
exclude: /node_modules/,
query: {
sourceMaps: !inProduction,