Skip to content

Commit

Permalink
fix: produce an inline + regular bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
floryst committed Aug 6, 2024
1 parent 469a194 commit f217354
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ jobs:
run: npm run validate
- name: Write version
run: npm run version
# build the inline version before release version
- name: Build
run: npm run build:release
run: npm run build:inline && npm run build:release

- name: Set git config
run: |
Expand Down
7 changes: 6 additions & 1 deletion build/webpack.base.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,12 @@ module.exports = {
},
plugins: [
new CleanWebpackPlugin({
cleanOnceBeforeBuildPatterns: ['**/*', '!version.js'],
cleanOnceBeforeBuildPatterns: [
'**/*',
'!version.js',
'!ParaViewGlance.html',
'!glance-external-*',
],
}),
new VueLoaderPlugin(),
new VuetifyLoaderPlugin(),
Expand Down

0 comments on commit f217354

Please sign in to comment.