123456789101112131415161718192021222324252627282930313233343536373839 |
- let Encore = require('@symfony/webpack-encore');
- Encore
-
- .setOutputPath('web/build/')
-
- .setPublicPath('/build')
-
-
-
- .addEntry('app', './assets/js/app.js')
-
-
- .cleanupOutputBeforeBuild()
- .enableSourceMaps(!Encore.isProduction())
-
- .enableVersioning(Encore.isProduction())
-
-
-
- .enableSassLoader()
-
- .autoProvidejQuery()
- ;
- module.exports = Encore.getWebpackConfig();
|