🎨 Refactoring CLI
This commit is contained in:
5
rollup.config.js
vendored
5
rollup.config.js
vendored
@@ -1,6 +1,6 @@
|
||||
import path from 'path';
|
||||
import appRootPath from 'app-root-path';
|
||||
import typescript from '@rollup/plugin-typescript';
|
||||
import typescript from 'rollup-plugin-typescript2';
|
||||
import alias from '@rollup/plugin-alias';
|
||||
import commonjs from '@rollup/plugin-commonjs';
|
||||
import json from '@rollup/plugin-json';
|
||||
@@ -14,7 +14,8 @@ export default {
|
||||
plugins: [
|
||||
json(),
|
||||
typescript({
|
||||
sourceMap: false,
|
||||
tsconfig: "tsconfig.json",
|
||||
clean: true, // 清理缓存
|
||||
}),
|
||||
commonjs(),
|
||||
alias({
|
||||
|
||||
Reference in New Issue
Block a user