-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwebpack.config.js
26 lines (23 loc) · 1.07 KB
/
webpack.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
let Encore = require('@symfony/webpack-encore');
Encore
.setOutputPath('web/build')
.setPublicPath('/build')
.cleanupOutputBeforeBuild()
.enableSassLoader()
.addEntry('datepicker', './assets/js/datepicker.js')
.addEntry('searchCity', './assets/js/searchCity.js')
.addEntry('rangeValue', './assets/js/rangeValue.js')
.addEntry('toggles', './assets/js/toggles.js')
.addStyleEntry('style', './assets/scss/main.scss')
.addStyleEntry('bootstrap-tagsinput', './assets/css/tagsinput.css')
.addEntry('app', './assets/js/app.js')
.addStyleEntry('home', './assets/scss/home.scss')
.addEntry('accueil', './assets/images/accueil.jpeg')
.addStyleEntry('event', './assets/scss/event.scss')
.addStyleEntry('edition', './assets/scss/edition.scss')
.addStyleEntry('toggleStyle', './assets/scss/toggleStyle.scss')
.addStyleEntry('error404', './assets/scss/error404.scss')
.addStyleEntry('rangeStyle', './assets/scss/rangeStyle.scss')
.enableBuildNotifications()
.autoProvidejQuery();
module.exports = Encore.getWebpackConfig();