afc163
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
.github/workflows/site-deploy.yml
-
webpack.config.js
|
|
@ -73,7 +73,7 @@ jobs: |
|
|
|
- name: build dist and bundle analyzer report |
|
|
|
run: npm run dist |
|
|
|
env: |
|
|
|
CI: false |
|
|
|
ANALYZER: 1 |
|
|
|
|
|
|
|
- name: Get version |
|
|
|
id: publish-version |
|
|
|
|
|
@ -39,7 +39,7 @@ if (process.env.RUN_ENV === 'PRODUCTION') { |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
if (!process.env.CI) { |
|
|
|
if (!process.env.CI || process.env.ANALYZER) { |
|
|
|
config.plugins.push( |
|
|
|
new BundleAnalyzerPlugin({ |
|
|
|
analyzerMode: 'static', |
|
|
|