Jamie-Yang / vue3-boilerplate

A Vue 3 Starter Boilerplate with Webpack 5, Vue Router 4, Pinia 2, TypeScript 5, Prettier and More.
MIT License
242 stars 88 forks source link

thread-loader prevents composition api components being included in production bundles #41

Open ItsOnlyBinary opened 1 month ago

ItsOnlyBinary commented 1 month ago

I've used this project as inspiration for my own webpack configs. In doing so I found that vue components written in Composition API where not being included in production bundles.

After some investigation it turned out to be caused by 'thread-loader' being used for js files.