File tree 3 files changed +5
-4
lines changed
3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 32
32
" src/"
33
33
],
34
34
"scripts" : {
35
- "build" : " rollup -c --bundleConfigAsCjs " ,
35
+ "build" : " rollup --config " ,
36
36
"test" : " jest --coverage" ,
37
37
"test:clear" : " jest --clearCache" ,
38
38
"test:update" : " jest --coverage --updateSnapshot"
51
51
"jest-canvas-mock" : " ^2.5.1" ,
52
52
"jest-environment-jsdom" : " ^29.5.0" ,
53
53
"lodash" : " ^4.17.21" ,
54
- "rollup" : " ^3.25 .0" ,
54
+ "rollup" : " ^4.2 .0" ,
55
55
"rollup-plugin-peer-deps-external" : " ^2.2.4" ,
56
56
"rollup-plugin-vue" : " ^6.0.0" ,
57
57
"ts-jest" : " ^29.1.0" ,
Original file line number Diff line number Diff line change @@ -3,7 +3,9 @@ import typescript from '@rollup/plugin-typescript'
3
3
import external from 'rollup-plugin-peer-deps-external'
4
4
import resolve from '@rollup/plugin-node-resolve'
5
5
import vue from 'rollup-plugin-vue'
6
- import pkg from './package.json'
6
+ import { readFileSync } from 'node:fs'
7
+
8
+ const pkg = JSON . parse ( readFileSync ( new URL ( 'package.json' , import . meta. url ) ) )
7
9
8
10
const plugins = [
9
11
external ( ) ,
Original file line number Diff line number Diff line change 16
16
"noImplicitThis" : true ,
17
17
"noImplicitAny" : true ,
18
18
"strictNullChecks" : true ,
19
- "suppressImplicitAnyIndexErrors" : true ,
20
19
"noUnusedLocals" : true ,
21
20
"noUnusedParameters" : true ,
22
21
"esModuleInterop" : true ,
You can’t perform that action at this time.
0 commit comments