Closed KonghaYao closed 10 months ago
This is awesome! Thanks for your PR @KonghaYao, I'm really happy to be able to get rid of gulp and webpack.
I'll check your PR soon (already made one small remark).
I want to write some examples about bundlers like Vite, to test their runtime behavior in the browser. I will create an another PR later.
Thanks @KonghaYao , your Rollup replacement works like a charm, this is impressive! It is nice to see that requireFoolWebpack
has become redundant now 😄. And I see the minified bundles are a bit smaller than before, that's always good.
I think there are no breaking changes, but I'll publish this as a major release because the changed bundle may have introduced subtle changes that for example Webpack applications may be relying on.
I'll also change the version numbers of the devDependencies in package.json to exact numbers, so installing and building workerpool
anywhere is guaranteed to give the exact same result.
I've now publish v7.0.0
.
In this pull request, I have switched the bundling tool in the project to Rollup and performed the necessary bundling and testing. The goal was to ensure that the generated output files remain identical to the previous build.
To achieve this, I had to modify the relevant code sections related to “Fool Webpack”, as it used certain techniques that caused failures during Vite and other tool bundling.