Symfony 4 / Webpack Encore : jQuery doesn't work
问题 jQuery doesn't work and I can't use my bootstrap dropdown, custom javascript... After a npm run dev (or npm run build ), app.js file is well created and loads in the browser. Compilation is done without any error. I tried to enable .autoProvidejQuery() then npm run dev / npm run build , but nothing changes. I am using Symfony 4.1.6 Solution found Change .enableSingleRuntimeChunk() to .disableSingleRuntimeChunk() in webpack.config.js If you just comment on the line, it works but you have a