Symfony Webpack Encore, Multiple JS/CSS Files to one file
问题 I want to create one css/js file from multiple css/js files. Multiple addEntry not working, please check my code and give me the solution. var Encore = require('@symfony/webpack-encore'); Encore // the project directory where compiled assets will be stored .setOutputPath('web/build/') // the public path used by the web server to access the previous directory .setPublicPath('/build') .cleanupOutputBeforeBuild() .enableSourceMaps(!Encore.isProduction()) // uncomment to create hashed filenames