Is there a better way to detect commonjs wildcard export and better warning prompts? #2110
-
In my personal projects, there are many monorepos with many wildcard exports. // a.js
export const a = 1
// index.js
export * from './a'; They are compiled into CommonJS using TypeScript and packaged with RSPack. However, there are many warnings here, but they are actually usable. simple example Reproducehttps://github.com/skywalker512/rspack-export-wildcard pnpm build In my personal monorepo project, there are hundreds of warnings, including third-party commonjs libraries, which is very annoying. |
Beta Was this translation helpful? Give feedback.
Answered by
IWANABETHATGUY
Mar 14, 2023
Replies: 1 comment
-
Fixed by #2111 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
skywalker512
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fixed by #2111