We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I use "library mode" to package, an error occurs:
error during build: Invalid value for option "output.manualChunks" - this option is not supported for "output.inlineDynamicImports".
vite.config.ts:
const minimizeObfuscatorConfig = { autoExcludeNodeModules: true, threadPool: true, }; export default { build: { lib: { entry: "src/lib/mylib.ts", name: "MyLib", fileName: "my-lib", }, }, plugins: [vitePluginBundleObfuscator(minimizeObfuscatorConfig)], } satisfies UserConfig;
The text was updated successfully, but these errors were encountered:
When I use "library mode" to package, an error occurs: error during build: Invalid value for option "output.manualChunks" - this option is not supported for "output.inlineDynamicImports". vite.config.ts: const minimizeObfuscatorConfig = { autoExcludeNodeModules: true, threadPool: true, }; export default { build: { lib: { entry: "src/lib/mylib.ts", name: "MyLib", fileName: "my-lib", }, }, plugins: [vitePluginBundleObfuscator(minimizeObfuscatorConfig)], } satisfies UserConfig;
I have received the feedback and will reply as soon as possible.
Sorry, something went wrong.
Setting autoExcludeNodeModules to false can resolve the error, but obfuscation will not be performed. I will need some time to handle this.
No branches or pull requests
When I use "library mode" to package, an error occurs:
vite.config.ts:
The text was updated successfully, but these errors were encountered: