Skip to content

Commit

Permalink
qMerge branch 'vite' into multiplayer-modeler
Browse files Browse the repository at this point in the history
  • Loading branch information
devmiguelangel committed Aug 15, 2023
2 parents 94b8d3c + 6d67066 commit dca79df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Build Package Modeler
on:
pull_request:
types: [opened, reopened, synchronize, edited, closed]
workflow_dispatch:
workflow_dispatch:
jobs:
run_deploy:
name: Run Build PM4-workflow
uses: processmaker/processmaker/.github/workflows/deploy-pm4.yml@develop
uses: processmaker/processmaker/.github/workflows/deploy-pm4.yml@vite-js-repos
secrets: inherit
4 changes: 3 additions & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export default defineConfig({
},
build: {
cssCodeSplit: false,
sourcemap: true,
lib: {
entry: resolve(__dirname, 'src/components/index.js'),
name: libraryName,
Expand All @@ -44,14 +45,15 @@ export default defineConfig({
rollupOptions: {
// make sure to externalize deps that shouldn't be bundled
// into your library
external: ['vue', 'moment', '@processmaker'],
external: ['vue', 'moment', 'moment-timezone', '@processmaker'],
output: {
exports: 'named',
// Provide global variables to use in the UMD build
// for externalized deps
globals: {
vue: 'Vue',
moment: 'moment',
'moment-timezone': 'moment-timezone',
},
},
},
Expand Down

0 comments on commit dca79df

Please sign in to comment.