Reputation: 2192
I managed configure Webpack to output CSS and JS into respective sub-directories, i.e. public/assets/css and public/assets/js. However, I don't know how to do the same with Symfony Webpack Encore.
Upvotes: 1
Views: 922
Reputation: 2921
The directory where assets are generated is defined in the webpack.config.js file with .setPublicPath('/build')
.
I am not sure but since webpack is supposed to help you "not to care about generated assets" what is your need to split js/css files in sub folder ?
Upvotes: 1