Skip to content

Commit d7f476d

Browse files
authored
Merge pull request #113 from ggrote/main
Add ApexCharts to vite.config.ts as external dependency.
2 parents ef20080 + 9864e1d commit d7f476d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vite.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@ export default defineConfig({
1616
rollupOptions: {
1717
// make sure to externalize deps that shouldn't be bundled
1818
// into your library
19-
external: ["vue"],
19+
external: ["vue", "apexcharts"],
2020
output: {
2121
// Provide global variables to use in the UMD build
2222
// for externalized deps
2323
globals: {
2424
vue: "Vue",
25+
apexcharts: "ApexCharts"
2526
},
2627
},
2728
},

0 commit comments

Comments
 (0)