fix: build

This commit is contained in:
AncTe committed 2024-09-30 10:24:48 +08:00
1 parent 61ba4f9a7e
commit f97e7c1bff
8 files changed
+323 -271

No files matched your search

+3 -1
View File
@@ -10,6 +10,7 @@ import resolve from '@rollup/plugin-node-resolve';
import commonjs from '@rollup/plugin-commonjs';
import { splitResource } from './resource.js';
import compressing from 'compressing';
import json from '@rollup/plugin-json';
const type = process.argv[2];
const map = false;
@@ -137,7 +138,8 @@ const compress = type === 'dist';
}),
terser(),
resolve(),
commonjs()
commonjs(),
json()
]
});
await build.write({