mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 05:05:48 +08:00
chore: minify themes css (#34824)
This commit is contained in:
parent
1e06f6cdc7
commit
dd13e806b2
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -23,7 +23,7 @@ jobs:
|
||||
key: lock-${{ github.sha }}
|
||||
|
||||
- name: create package-lock.json
|
||||
run: npm i --package-lock-only --ignore-scripts --force
|
||||
run: npm i --package-lock-only --ignore-scripts
|
||||
|
||||
- name: hack for single file
|
||||
run: |
|
||||
@ -402,4 +402,4 @@ jobs:
|
||||
run: npm test
|
||||
env:
|
||||
LIB_DIR: ${{ matrix.module }}
|
||||
needs: compile
|
||||
needs: compile
|
||||
|
@ -87,6 +87,7 @@ module.exports = {
|
||||
};
|
||||
} else if (process.env.ESBUILD) {
|
||||
// use esbuild
|
||||
config.optimization.minimize = true;
|
||||
config.optimization.minimizer = [
|
||||
new ESBuildMinifyPlugin({
|
||||
target: 'es2015',
|
||||
|
Loading…
Reference in New Issue
Block a user