WIP Reduce bs and jquery javascript
This commit is contained in:
+8
-2
@@ -26,6 +26,12 @@ Encore
|
||||
js: 'js/[name].js',
|
||||
css: 'css/[name].css',
|
||||
})
|
||||
.configureImageRule({
|
||||
filename: 'images/[name][ext]',
|
||||
})
|
||||
.configureFontRule({
|
||||
filename: 'fonts/[name][ext]',
|
||||
})
|
||||
.configureBabel(function (babelConfig) {
|
||||
babelConfig.plugins = [ '@babel/plugin-proposal-object-rest-spread', '@babel/plugin-syntax-dynamic-import' ]
|
||||
})
|
||||
@@ -65,10 +71,10 @@ Encore
|
||||
css: 'css/[name].css',
|
||||
})
|
||||
.configureImageRule({
|
||||
filename: 'images/[name].[ext]',
|
||||
filename: 'images/[name][ext]',
|
||||
})
|
||||
.configureFontRule({
|
||||
filename: 'fonts/[name].[ext]',
|
||||
filename: 'fonts/[name][ext]',
|
||||
})
|
||||
.configureBabel(function (babelConfig) {
|
||||
babelConfig.plugins = [ '@babel/plugin-proposal-object-rest-spread', '@babel/plugin-syntax-dynamic-import' ]
|
||||
|
||||
Reference in New Issue
Block a user