Добавил настройки плагинов для babel

This commit is contained in:
Book Pauk
2019-01-01 15:44:47 +07:00
parent c5796d2c14
commit 3612327245

View File

@@ -17,7 +17,14 @@ module.exports = {
{
test: /\.js$/,
loader: 'babel-loader',
exclude: /node_modules/
exclude: /node_modules/,
query: {
plugins: [
'syntax-dynamic-import',
'transform-decorators-legacy',
'transform-class-properties'
]
}
},
{
test: /\.gif$/,