Permalink
Browse files

Code style fixes for webpack.common.js

Signed-off-by: David Mehren <dmehren1@gmail.com>
  • Loading branch information...
davidmehren committed Oct 18, 2018
1 parent 8264f50 commit 098908fb25840fcdaf448388df698817dc0c93cd
Showing with 9 additions and 9 deletions.
  1. +9 −9 webpack.common.js
@@ -392,7 +392,7 @@ module.exports = {
module: {
rules: [{
test: /\.js$/,
use: [{loader: 'babel-loader'}],
use: [{ loader: 'babel-loader' }],
exclude: [/node_modules/, /public\/vendor/]
}, {
test: /\.css$/,
@@ -428,43 +428,43 @@ module.exports = {
test: require.resolve('js-sequence-diagrams'),
use: [{
loader: 'imports-loader',
options: {_: 'lodash', Raphael: 'raphael', eve: 'eve'}
options: { _: 'lodash', Raphael: 'raphael', eve: 'eve' }
}]
}, {
test: /\.eot(\?v=\d+\.\d+\.\d+)?$/,
use: [{loader: 'file-loader'}]
use: [{ loader: 'file-loader' }]
}, {
test: /\.html$/,
use: [{loader: 'string-loader'}]
use: [{ loader: 'string-loader' }]
}, {
test: /\.(woff|woff2)(\?v=\d+\.\d+\.\d+)?$/,
use: [{
loader: 'url-loader',
options: {prefix: 'font/', limit: '5000'}
options: { prefix: 'font/', limit: '5000' }
}]
}, {
test: /\.ttf(\?v=\d+\.\d+\.\d+)?$/,
use: [{
loader: 'url-loader',
options: {limit: '5000', mimetype: 'application/octet-stream'}
options: { limit: '5000', mimetype: 'application/octet-stream' }
}]
}, {
test: /\.svg(\?v=\d+\.\d+\.\d+)?$/,
use: [{
loader: 'url-loader',
options: {limit: '10000', mimetype: 'svg+xml'}
options: { limit: '10000', mimetype: 'svg+xml' }
}]
}, {
test: /\.png(\?v=\d+\.\d+\.\d+)?$/,
use: [{
loader: 'url-loader',
options: {limit: '10000', mimetype: 'image/png'}
options: { limit: '10000', mimetype: 'image/png' }
}]
}, {
test: /\.gif(\?v=\d+\.\d+\.\d+)?$/,
use: [{
loader: 'url-loader',
options: {limit: '10000', mimetype: 'image/gif'}
options: { limit: '10000', mimetype: 'image/gif' }
}]
}]
},

0 comments on commit 098908f

Please sign in to comment.