Releases: vite-plugin/vite-plugin-esmodule
Releases · vite-plugin/vite-plugin-esmodule
v1.5.0
Please refer to CHANGELOG.md for details.
v1.4.4
Please refer to CHANGELOG.md for details.
v1.4.3
Please refer to CHANGELOG.md for details.
v1.4.2
PR: #6
This errors is because vite-plugin-esmodule
will automaticall build ESM modules in package.json
, but some modules cannot be built normally. e.g. vite
. Explicitly specifying which modules need to be built avoids the problem.
The next version of vite-plugin-esmodule
will remove the auto-detection of ESM modules and leave it to the user to choose.
该报错是由于 vite-plugin-esmodule
会自动构建 package.json
中的 ESM 模块,但是有些模块不能被正常的构建。比如 vite
。显式的指定需要构建哪些模块,能避开这个问题。
vite-plugin-esmodule
的下一个版本将会移除自动检测 ESM 模块,交由用户自行选择。
v1.4.1
- fix(🐞): object syntax and esm #4
@lights0123