Skip to content

Commit

Permalink
fix: 修复打包依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
ShenXiaowei committed May 27, 2024
1 parent 2ea8a09 commit 06bcb55
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-node-resolve": "^13.2.1",
"@rollup/plugin-replace": "^4.0.0",
"@rollup/plugin-terser": "^0.4.1",
"@rollup/plugin-typescript": "^8.3.2",
"@types/webpack-env": "^1.16.4",
"@typescript-eslint/eslint-plugin": "^5.29.0",
Expand All @@ -33,6 +32,7 @@
"prettier": "^2.6.2",
"rollup": "^2.70.2",
"rollup-plugin-filesize": "^9.1.2",
"rollup-plugin-terser": "^7.0.2",
"serve-static": "^1.15.0",
"tslib": "^2.4.0",
"typescript": "^4.9.5"
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// @ts-nocheck
import { babel } from '@rollup/plugin-babel';
import { terser } from 'rollup-plugin-terser';
import * as packageJson from './package.json';
import alias from '@rollup/plugin-alias';
import commonjs from '@rollup/plugin-commonjs';
import filesize from 'rollup-plugin-filesize';
import path from 'path';
import replace from '@rollup/plugin-replace';
import resolve from '@rollup/plugin-node-resolve';
import terser from '@rollup/plugin-terser';
import typescript from '@rollup/plugin-typescript';

const processENV = process.argv[process.argv.length - 1]
Expand Down
2 changes: 1 addition & 1 deletion rollup.plugins.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import * as packageJson from './package.json';
import { babel } from '@rollup/plugin-babel';
import { terser } from 'rollup-plugin-terser';
import alias from '@rollup/plugin-alias';
import commonjs from '@rollup/plugin-commonjs';
import filesize from 'rollup-plugin-filesize';
import path from 'path';
import replace from '@rollup/plugin-replace';
import resolve from '@rollup/plugin-node-resolve';
import terser from '@rollup/plugin-terser';
import typescript from '@rollup/plugin-typescript';

const fs = require('fs');
Expand Down

0 comments on commit 06bcb55

Please sign in to comment.