Skip to content

Commit 6ee6587

Browse files
committed
(chore) remove web component build
1 parent 82a8eb1 commit 6ee6587

File tree

2 files changed

+8
-20
lines changed

2 files changed

+8
-20
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"main": "./dist/vue-advanced-chat.common.js",
3030
"scripts": {
3131
"serve": "vue-cli-service serve",
32-
"build": "npm run clean:lib && npm run build:lib && npm run build:wc && npm run gen:types",
32+
"build": "npm run clean:lib && npm run build:lib && npm run gen:types",
3333
"clean:lib": "rimraf dist",
3434
"build:lib": "vue-cli-service build --target lib --no-clean --name vue-advanced-chat ./src/ChatWindow/index.js",
3535
"build:wc": "vue-cli-service build --target wc --no-clean --name vue-advanced-chat ./src/ChatWindow/ChatWindow.vue",

tsconfig.json

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,9 @@
11
{
2-
// Change this to match your project
3-
"include": [
4-
"dist/**/*"
5-
],
6-
7-
"compilerOptions": {
8-
// Tells TypeScript to read JS files, as
9-
// normally they are ignored as source files
10-
"allowJs": true,
11-
// Generate d.ts files
12-
"declaration": true,
13-
// This compiler run should
14-
// only output d.ts files
15-
"emitDeclarationOnly": true,
16-
// Types should go into this directory.
17-
// Removing this would place the .d.ts files
18-
// next to the .js files
19-
"outDir": "types",
20-
},
2+
"compilerOptions": {
3+
"allowJs": true,
4+
"declaration": true,
5+
"emitDeclarationOnly": true,
6+
"outDir": "types"
7+
},
8+
"include": ["dist/**/*"]
219
}

0 commit comments

Comments
 (0)