Commit 823f0a4b authored by Matija Obreza's avatar Matija Obreza
Browse files

Webpack: Use single quotes

parent 67a55629
......@@ -113,7 +113,7 @@ module.exports = {
{
test: /\.(png|jpe?g)$/,
use: [
{ loader: "file-loader?name=images/[name].[ext]" },
{ loader: 'file-loader?name=images/[name].[ext]' },
],
},
],
......
......@@ -7,9 +7,9 @@ const commonConfig = require('./webpack-base.config.js');
module.exports = webpackMerge.smart(commonConfig, {
mode: "development",
mode: 'development',
devtool: "source-map",
devtool: 'source-map',
entry: {},
......
......@@ -4,7 +4,7 @@ const CopyWebpackPlugin = require('copy-webpack-plugin');
module.exports = {
mode: "development",
mode: 'development',
entry: {
ui: './src/genesys.tsx',
......@@ -54,7 +54,7 @@ module.exports = {
{
test: /\.(png|jpe?g)$/,
use: [
{ loader: "file-loader?name=images/[name].[ext]" },
{ loader: 'file-loader?name=images/[name].[ext]' },
],
},
{
......
......@@ -9,7 +9,7 @@ const commonConfig = require('./webpack-base.config.js');
module.exports = webpackMerge.smart(commonConfig, {
mode: "production",
mode: 'production',
devServer: {
hot: false,
......@@ -20,7 +20,7 @@ module.exports = webpackMerge.smart(commonConfig, {
plugins: [
new webpack.LoaderOptionsPlugin({
minimize: true,
debug: false
debug: false,
}),
new HtmlWebpackPlugin({
filename: 'index.html', // The file to write the HTML to
......@@ -37,7 +37,7 @@ module.exports = webpackMerge.smart(commonConfig, {
vendor: {
test: /[\\/]node_modules[\\/]/,
name: 'vendors',
chunks: 'all'
chunks: 'all',
},
client: {
test: /[\\/]client[\\/]/,
......@@ -76,6 +76,6 @@ module.exports = webpackMerge.smart(commonConfig, {
// },
// canPrint: true
}),
]
}
],
},
});
......@@ -8,7 +8,7 @@ const commonConfig = require('./webpack-library.js');
module.exports = webpackMerge.smart(commonConfig, {
mode: "production",
mode: 'production',
optimization: {
usedExports: true,
......@@ -42,6 +42,6 @@ module.exports = webpackMerge.smart(commonConfig, {
// },
// canPrint: true
}),
]
}
],
},
});
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment