Commit a6a22c1 1 parent a113641 commit a6a22c1 Copy full SHA for a6a22c1
File tree 3 files changed +10
-1
lines changed
3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 12
12
"@koa/cors" : " ^4.0.0" ,
13
13
"@open-wc/dev-server-hmr" : " ^0.1.2-next.0" ,
14
14
"@open-wc/testing" : " ^3.1.7" ,
15
+ "@rollup/plugin-typescript" : " ^11.1.1" ,
15
16
"@types/chai" : " ^4.3.4" ,
16
17
"@types/sinon" : " ^10.0.13" ,
17
18
"@web/dev-server" : " ^0.1.35" ,
20
21
"@web/test-runner-playwright" : " ^0.9.0" ,
21
22
"prettier" : " ^2.8.4" ,
22
23
"sinon" : " ^15.0.1" ,
24
+ "tslib" : " ^2.5.3" ,
23
25
"vite" : " ^4.1.4"
24
26
},
25
27
"dependencies" : {
Original file line number Diff line number Diff line change 19
19
"skipLibCheck" : true ,
20
20
"baseUrl" : "." ,
21
21
"esModuleInterop" : true ,
22
- }
22
+ "declaration" : true ,
23
+ "declarationDir" : "src/main/resources/META-INF/frontend/vaadin-dev-tools" ,
24
+ "emitDeclarationOnly" : true
25
+ } ,
26
+ "include" : [ "frontend/vaadin-dev-tools.ts" ] ,
27
+ "exclude" : [ ]
23
28
}
Original file line number Diff line number Diff line change 1
1
import { fileURLToPath } from 'url' ;
2
2
import { defineConfig } from 'vite' ;
3
+ import typescript from '@rollup/plugin-typescript' ;
3
4
4
5
export default defineConfig ( {
5
6
build : {
@@ -15,6 +16,7 @@ export default defineConfig({
15
16
// Ensure consistent file name for dev tools bundle
16
17
entryFileNames : 'vaadin-dev-tools.js'
17
18
} ,
19
+ plugins : [ typescript ( { tsconfig : './tsconfig.json' } ) ] ,
18
20
// Do not resolve the following imports, these modules
19
21
// will be provided by the application that hosts the dev tools.
20
22
external : [
You can’t perform that action at this time.
0 commit comments