consistently use single quotes
This commit is contained in:
parent
ae1d69c29a
commit
152b292d0b
1 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@ var fs = require('fs');
|
||||||
var path = require('path');
|
var path = require('path');
|
||||||
var webpack = require('webpack');
|
var webpack = require('webpack');
|
||||||
var StatsPlugin = require('stats-webpack-plugin');
|
var StatsPlugin = require('stats-webpack-plugin');
|
||||||
var CompressionPlugin = require("compression-webpack-plugin");
|
var CompressionPlugin = require('compression-webpack-plugin');
|
||||||
|
|
||||||
var ROOT_PATH = path.resolve(__dirname, '..');
|
var ROOT_PATH = path.resolve(__dirname, '..');
|
||||||
var IS_PRODUCTION = process.env.NODE_ENV === 'production';
|
var IS_PRODUCTION = process.env.NODE_ENV === 'production';
|
||||||
|
@ -53,10 +53,10 @@ var config = {
|
||||||
exclude: /node_modules/,
|
exclude: /node_modules/,
|
||||||
loader: 'babel-loader',
|
loader: 'babel-loader',
|
||||||
query: {
|
query: {
|
||||||
// "use strict" was broken in sprockets-es6 due to sprockets concatination method.
|
// 'use strict' was broken in sprockets-es6 due to sprockets concatination method.
|
||||||
// many es5 strict errors which were never caught ended up in our es6 assets as a result.
|
// many es5 strict errors which were never caught ended up in our es6 assets as a result.
|
||||||
// this hack is necessary until they can be fixed.
|
// this hack is necessary until they can be fixed.
|
||||||
blacklist: ["useStrict"]
|
blacklist: ['useStrict']
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue