fix: build error
This commit is contained in:
parent
f022efc94c
commit
90eda42278
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "poros-demo-client",
|
"name": "blive-coyote-demo-client",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.0.0",
|
"version": "0.0.1",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite --port 8888 --host 0.0.0.0 ",
|
"dev": "vite --port 8888 --host 0.0.0.0 ",
|
||||||
"build": "vue-tsc --noEmit && vite build",
|
"build": "vue-tsc --noEmit && vite build",
|
||||||
|
1
src/assets/danmaku-websocket.min.js
vendored
1
src/assets/danmaku-websocket.min.js
vendored
File diff suppressed because one or more lines are too long
@ -13,7 +13,8 @@
|
|||||||
"types": ["node"],
|
"types": ["node"],
|
||||||
"allowSyntheticDefaultImports": true,
|
"allowSyntheticDefaultImports": true,
|
||||||
"noImplicitAny": false,
|
"noImplicitAny": false,
|
||||||
"forceConsistentCasingInFileNames": true
|
"forceConsistentCasingInFileNames": true,
|
||||||
|
"skipLibCheck": true
|
||||||
},
|
},
|
||||||
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
|
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
|
||||||
"references": [{ "path": "./tsconfig.node.json" }]
|
"references": [{ "path": "./tsconfig.node.json" }]
|
||||||
|
@ -13,5 +13,10 @@ export default defineConfig({
|
|||||||
"@": path.resolve(__dirname, "./src")
|
"@": path.resolve(__dirname, "./src")
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
plugins: [vue(), viteCommonjs()]
|
plugins: [
|
||||||
|
vue(),
|
||||||
|
viteCommonjs({
|
||||||
|
include: ['danmaku-websocket.min.js']
|
||||||
|
}
|
||||||
|
)]
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user