Skip to content
New issue

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

bytecodePlugin support ES module #664

Open
4 tasks done
AmbitionsXXXV opened this issue Nov 18, 2024 · 2 comments
Open
4 tasks done

bytecodePlugin support ES module #664

AmbitionsXXXV opened this issue Nov 18, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@AmbitionsXXXV
Copy link

Clear and concise description of the problem

My project use ES module, and need to use bytecodePlugin to protect the source code. But when I build my project, the plugin warn that it doesn't support ES module

Suggested solution

Hope bytecodePlugin supports ES module

Alternative

No response

Additional context

No response

Validations

@AmbitionsXXXV AmbitionsXXXV added the enhancement New feature or request label Nov 18, 2024
@sj-wangchao
Copy link

我把程序的模块都抽离成了单独的npm包,主应用只负责整合这些模块。我启用字节码插件后发现这些npm包并没有被字节化,怎么办啊?研究了一晚上了也没研究出来

@alex8088
Copy link
Owner

我把程序的模块都抽离成了单独的npm包,主应用只负责整合这些模块。我启用字节码插件后发现这些npm包并没有被字节化,怎么办啊?研究了一晚上了也没研究出来

安装在devdeps,或者在externalize插件排除

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants