chg: usr: make the first working version - the stepping is broken due to the algorythm structure #4
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
var Encore = require('@symfony/webpack-encore');
|
||||
var webpack = require('webpack');
|
||||
|
||||
// Manually configure the runtime environment if not already configured yet by the "encore" command.
|
||||
// It's useful when you use tools that rely on webpack.config.js file.
|
||||
@@ -32,10 +33,21 @@ Encore
|
||||
.addEntry('homeStyle', './assets/css/style.layout.scss')
|
||||
|
||||
// uncomment if you use Sass/SCSS files
|
||||
.enableSassLoader()
|
||||
.enableSassLoader(options => {
|
||||
options.api = 'modern';
|
||||
options.sassOptions = { silenceDeprecations: ['import'] };
|
||||
})
|
||||
.configureCssLoader(options => {
|
||||
// don't process absolute URLs (e.g. /images/...) — served by the web server
|
||||
options.url = { filter: url => !url.startsWith('/') };
|
||||
})
|
||||
|
||||
// uncomment for legacy applications that require $/jQuery as a global variable
|
||||
.autoProvidejQuery()
|
||||
// provide $/jQuery as global variables for Bootstrap 3 and legacy code
|
||||
.addPlugin(new webpack.ProvidePlugin({
|
||||
$: 'jquery',
|
||||
jQuery: 'jquery',
|
||||
'window.jQuery': 'jquery',
|
||||
}))
|
||||
|
||||
// .configureBabel(function (babelConfig) {
|
||||
// babelConfig.presets.push('env');
|
||||
|
||||
Reference in New Issue
Block a user