File tree Expand file tree Collapse file tree 2 files changed +8
-20
lines changed
Expand file tree Collapse file tree 2 files changed +8
-20
lines changed Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change 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}
You can’t perform that action at this time.
0 commit comments