Skip to content

Commit

Permalink
Merge pull request #503 from Kitware/output-inline
Browse files Browse the repository at this point in the history
fix: produce an inline + regular bundle
  • Loading branch information
floryst authored Aug 7, 2024
2 parents 469a194 + f217354 commit da8426e
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 da8426e

Please sign in to comment.