vuejs / vue-loader

📦 Webpack loader for Vue.js components
MIT License
4.99k stars 915 forks source link

vue-loader options might get lost for template compiler in webpack 4 #2029

Closed xanf closed 1 year ago

xanf commented 1 year ago

When using vue-loader with huge webpack configuration, sometimes options object inside templateCompiler will be pointing to totally random (at first look) configuration of other loader

This happens only when there are a lot of webpack loader rules, with heavy use of options inside each of them and might appear and go away with subtle changes in webpack configuration (like re-ordering rules)