Edit indentation style
This commit is contained in:
parent
98499d98de
commit
955b13fc44
23 changed files with 14326 additions and 14329 deletions
|
@ -1,44 +1,44 @@
|
|||
const Encore = require('@symfony/webpack-encore');
|
||||
|
||||
if (!Encore.isRuntimeEnvironmentConfigured()) {
|
||||
Encore.configureRuntimeEnvironment(process.env.NODE_ENV || 'dev');
|
||||
Encore.configureRuntimeEnvironment(process.env.NODE_ENV || 'dev');
|
||||
}
|
||||
|
||||
Encore
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// PATHS
|
||||
// ----------------------------------------------------------------------------
|
||||
// ----------------------------------------------------------------------------
|
||||
// PATHS
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
.setOutputPath('public/build/')
|
||||
.setPublicPath('/build')
|
||||
.setOutputPath('public/build/')
|
||||
.setPublicPath('/build')
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// ENTRIES
|
||||
// ----------------------------------------------------------------------------
|
||||
// ----------------------------------------------------------------------------
|
||||
// ENTRIES
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
.addEntry('app', './assets/js/app.js')
|
||||
.addStyleEntry('main', './assets/css/main.scss')
|
||||
.addStyleEntry('panel', './assets/css/panel.scss')
|
||||
.addEntry('app', './assets/js/app.js')
|
||||
.addStyleEntry('main', './assets/css/main.scss')
|
||||
.addStyleEntry('panel', './assets/css/panel.scss')
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// FEATURES
|
||||
// ----------------------------------------------------------------------------
|
||||
// ----------------------------------------------------------------------------
|
||||
// FEATURES
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
.disableSingleRuntimeChunk()
|
||||
.cleanupOutputBeforeBuild()
|
||||
.enableBuildNotifications()
|
||||
.enableSourceMaps(!Encore.isProduction())
|
||||
.configureBabel((config) => {
|
||||
config.plugins.push('@babel/plugin-proposal-class-properties');
|
||||
})
|
||||
.configureBabelPresetEnv((config) => {
|
||||
config.useBuiltIns = 'usage';
|
||||
config.corejs = 3;
|
||||
})
|
||||
.enableTypeScriptLoader()
|
||||
.enableSassLoader()
|
||||
.enablePostCssLoader()
|
||||
.disableSingleRuntimeChunk()
|
||||
.cleanupOutputBeforeBuild()
|
||||
.enableBuildNotifications()
|
||||
.enableSourceMaps(!Encore.isProduction())
|
||||
.configureBabel((config) => {
|
||||
config.plugins.push('@babel/plugin-proposal-class-properties');
|
||||
})
|
||||
.configureBabelPresetEnv((config) => {
|
||||
config.useBuiltIns = 'usage';
|
||||
config.corejs = 3;
|
||||
})
|
||||
.enableTypeScriptLoader()
|
||||
.enableSassLoader()
|
||||
.enablePostCssLoader()
|
||||
;
|
||||
|
||||
module.exports = Encore.getWebpackConfig();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue