Skip to content

Commit ab070a9

Browse files
committed
build: fixed some build issues
1 parent 8302100 commit ab070a9

File tree

6 files changed

+17
-8
lines changed

6 files changed

+17
-8
lines changed

components/vue3/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
"@vitejs/plugin-vue-jsx": "^3.1.0",
110110
"@vue/eslint-config-prettier": "^8.0.0",
111111
"@vue/eslint-config-typescript": "^12.0.0",
112-
"@vue/tsconfig": "^0.5.1",
112+
"@vue/tsconfig": "^0.4.0",
113113
"eslint": "^8.56.0",
114114
"eslint-plugin-vue": "^9.19.2",
115115
"prettier": "^3.1.1",

components/vue3/tsconfig.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{
2-
"extends": "@vue/tsconfig/tsconfig.dom.json",
2+
"extends": [
3+
"@vue/tsconfig/tsconfig.dom.json"//,
4+
//"@vue/tsconfig/tsconfig.lib.json"
5+
],
36
"include": ["env.d.ts", "src/**/*", "src/**/*.vue"],
47
"compilerOptions": {
58
"baseUrl": ".",

components/vue3/tsconfig.vite-config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"extends": [
33
"@tsconfig/node18/tsconfig.json",
4-
"@vue/tsconfig/tsconfig.json"
4+
"@vue/tsconfig/tsconfig.dom.json"//,
5+
//"@vue/tsconfig/tsconfig.lib.json"
56
],
67
"include": [
78
"vite.config.*"

components/vue3/typedoc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"./src/"
55
],
66
"entryPointStrategy": "expand",
7-
"name": "tsParticles Angular Component",
7+
"name": "tsParticles Vue 3.x Component",
88
"includeVersion": true,
99
"hideGenerator": true,
1010
"out": "./docs",

components/vue3/vite.config.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,18 @@ export default defineConfig({
1414
fileName: format => `particles.${format}.js`,
1515
},
1616
rollupOptions: {
17-
external: ["vue", "@tsparticles/engine"],
17+
external: [ "vue", "@tsparticles/engine" ],
1818
output: {
1919
// Provide global variables to use in the UMD build
2020
// Add external deps here
2121
globals: {
2222
vue: "Vue",
23+
"@tsparticles/engine": "tsParticles",
2324
},
2425
},
2526
},
2627
},
27-
plugins: [vue(), vueJsx(), dts()],
28+
plugins: [ vue(), vueJsx(), dts() ],
2829
resolve: {
2930
alias: {
3031
"@": fileURLToPath(new URL("./src", import.meta.url)),

pnpm-lock.yaml

Lines changed: 6 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)