Babel query-string

This commit is contained in:
Dmitry Lyzo 2020-04-04 19:40:40 +03:00
parent 50122d0253
commit f1918083d1
3 changed files with 5 additions and 2 deletions

3
babel.config.json Normal file
View File

@ -0,0 +1,3 @@
{
"presets": ["@babel/preset-env"]
}

View File

@ -13,7 +13,7 @@ module.exports = merge(common, {
rules: [
{
test: /\.js$/,
exclude: /node_modules/,
exclude: /node_modules[\\/](?!query-string)/,
loader: "babel-loader"
},
{

View File

@ -8,7 +8,7 @@ module.exports = merge(common, {
rules: [
{
test: /\.js$/,
exclude: /node_modules/,
exclude: /node_modules[\\/](?!query-string)/,
loader: "babel-loader"
},
{