🎨 Optimize the code structure

This commit is contained in:
Tw93
2023-08-04 15:58:08 +08:00
parent c89b65694f
commit 1ac67605ba
13 changed files with 579 additions and 568 deletions

5
rollup.config.js vendored
View File

@@ -25,12 +25,13 @@ export default {
plugins: [
json(),
typescript({
tsconfig: "tsconfig.json",
clean: true, // 清理缓存
tsconfig: 'tsconfig.json',
clean: true, // Clear cache
}),
commonjs(),
replace({
'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV),
preventAssignment: true,
}),
alias({
entries: [{ find: '@', replacement: path.join(appRootPath.path, 'bin') }],