Skip to content

Commit

Permalink
fix: comments plugin build error (opentiny#517)
Browse files Browse the repository at this point in the history
  • Loading branch information
hexqi authored May 28, 2024
1 parent 5134ab3 commit 02ff87a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/build/vite-plugin-generate-comments/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default defineConfig({
formats: ['es', 'cjs']
},
rollupOptions: {
external: ['vue', /@babel\/.*/, /@opentiny\/tiny-engine.*/, /@opentiny\/vue.*/]
external: ['node:fs', 'node:path', 'vue', /@babel\/.*/, /@opentiny\/tiny-engine.*/, /@opentiny\/vue.*/]
}
}
})
})

0 comments on commit 02ff87a

Please sign in to comment.