mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-01 07:24:30 +08:00
fix: build
This commit is contained in:
1 parent
61ba4f9a7e
commit
f97e7c1bff
8 files changed
+323
-271
No files matched your search
+3
-1
@@ -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({
|
||||
|
||||
Reference in new issue
Block a user