5 Commits

Author SHA1 Message Date
三咲智子 Kevin Deng
e8c6079cdf
refactor: lint
eslint --fix by @sxzz/eslint-config

- add `node:` protocol
- sort imports
- ...
2024-07-17 23:46:22 +08:00
EGOIST
a6e06e8963 fix: now cjs shims should only be injected when it's actually used 2021-12-08 00:38:36 +08:00
EGOIST
d0870dd3bd fix: shim __dirname, __filename in esm bundle 2021-11-29 20:01:11 +08:00
Sachin Raja
5699a010b8
fix: drop cjs_shims if they are not used (#436) 2021-10-17 20:33:07 +08:00
FM
49f48ead4c
fix: only enable code splitting in esm format (#403)
BREAKING CHANGE:

Code splitting now only works for esm format (default output format is `cjs`), code splitting with cjs format is not supported by esbuild, and our workaround is kinda buggy, so we reverted that decision.
2021-09-15 21:59:43 +08:00