harpsealjs

Results 69 comments of harpsealjs

> It's worth noting that rspack is the outlier here: The following code will work across all runtimes and bundlers but breaks in rspack. > > expect(import.meta.env?.SOME_MISSING_VAR ?? 42).toBe(42); >...

Seems the _OPENAPI_METADATA_FACTORY of CreateUserDto is missing. It is injected by swagger plugin but I can not figure out how it is done. I I'm not familiar with the swagger...

It seems that an incompatible plugin internally introduced webpack's CommonJsChunkFormatPlugin. The rspack's CommonJsChunkFormatPlugin should be used instead. Can you provide a repro?

According to this [test project](https://github.com/LingyuCoder/rspack-filename-ext), it has been aligned with webpack. So this issue will be closed.

> at Object.fn (/Users/helium/workspace/pas/node_modules/@xxx/module-federation-typescript/src/plugins/FederatedTypesPlugin.js:70:21) Seems this error is caused by another plugin which touches the internal objects of tapable, perhaps need a repro project to find out it

> > > > at Object.fn (/Users/helium/workspace/pas/node_modules/@xxx/module-federation-typescript/src/plugins/FederatedTypesPlugin.js:70:21) > > > > > > > > > Seems this error is caused by another plugin which touches the internal objects of...

You can try to use [rspack-manifest-plugin](https://github.com/rspack-contrib/rspack-manifest-plugin) instead, it is forked from [webpack-manifest-plugin](https://github.com/shellscape/webpack-manifest-plugin) and seems do the same thing with webpack-assets-manifest. The `assetsInfo` can be got by `compilation.getAsset()[].info`. If you need...

Seems to be a bug of new incremental, you can try to disable it by `experiments.incremental: false`. cc @ahabhgk

Need full support of runtime template and `output.environment`, related to #5013. It is recommended to use gzip for further compression, so that these duplicate `function() {}` will not significantly affect...