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

支持 esm 规范的插件运行 #80

Open
ClarkXia opened this issue Dec 23, 2021 · 0 comments
Open

支持 esm 规范的插件运行 #80

ClarkXia opened this issue Dec 23, 2021 · 0 comments
Assignees

Comments

@ClarkXia
Copy link
Collaborator

目前 build.config.mjs 支持以 esm 规范进行开发,插件在最终执行的时候通过 require 执行,导致无法使用 esm 规范

fn = require(pluginPath); // eslint-disable-line

期望能够统一使用 esm 规范进行开发

@ClarkXia ClarkXia self-assigned this Dec 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant