afc163
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
2 deletions
-
.github/workflows/test.yml
-
site/bisheng.config.js
|
|
@ -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', |
|
|
|