4 ms·
Surprised not to see much mention of plugins and how they will work (unless I missed something?). Plugins are the big differentiator between Webpack and existi
by rattray 4y ago
Surprised not to see much mention of plugins and how they will work (unless I missed something?).
Plugins are the big differentiator between Webpack and existing "webpack but faster" tools, and presumably the reason most people still use webpack. What's the plan here?
- esamatti 4y agoThey say they plan to support Vue and Svelte via plugins so I guess it is a thing or will be. "In future versions, we'll be supporting Vue and Svelte via plugins." https://turbo.build/pack/docs/features/frameworks#vue-and-svelte https://turbo.build/pack/docs/features/frameworks#vue-and-sv...
- thedanbob 4y agohttps://turbo.build/pack/docs/migrating-from-webpack https://turbo.build/pack/docs/migrating-from-webpack It sounds like plugins will be a thing but existing webpack plugins will need to be ported.
- rattray 4y agoAh, nice find. They seem to imply plugins can be written in JS, with an API that _may_ be similar to Webpack, but definitely not drop-in compatible: > We're planning on making Turbopack very flexible and extensible, but we're not planning 1:1 compatibility with Webpack … most Webpack plugins won't work out of the box with Turbopack. However, we're working on porting several of the most popular Webpack plugins to Turbopack.