fix: tsconfig support ESM

This commit is contained in:
ArcherGu committed 2021-07-19 08:47:16 +08:00
1 parent 651a2e6902
commit 8e7045fbcc
2 files changed
+7 -4

No files matched your search

+1 -3
View File
@@ -20,9 +20,7 @@ export default (env = 'production') => {
nodeResolve(),
commonjs(),
json(),
typescript({
module: 'ESNext',
}),
typescript(),
alias({
entries: [
{ find: '@render', replacement: join(__dirname, '../src/render') },