File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import {createRequire} from 'module';
22
33import resolve from '@rollup/plugin-node-resolve' ;
44import commonjs from '@rollup/plugin-commonjs' ;
5- import typescript from 'rollup- plugin-typescript2 ' ;
5+ import typescript from '@ rollup/ plugin-typescript ' ;
66import dts from 'rollup-plugin-dts' ;
77import { terser } from 'rollup-plugin-terser' ;
88import babel from '@rollup/plugin-babel' ;
@@ -44,10 +44,7 @@ export default [
4444 } ) ,
4545 commonjs ( ) ,
4646 typescript ( {
47- tsconfig : './tsconfig.json' ,
48- declaration : true ,
49- declarationDir : 'dist' ,
50- useTsconfigDeclarationDir : true
47+ tsconfig : './tsconfig.json'
5148 } ) ,
5249 babel ( {
5350 babelHelpers : 'bundled' ,
Original file line number Diff line number Diff line change 2424 "noFallthroughCasesInSwitch" : true ,
2525
2626 },
27- "include" : [" src" ]
27+ "include" : [" src" , " packages " ]
2828}
Original file line number Diff line number Diff line change 1818 "lib" : [
1919 " dom" ,
2020 " dom.iterable" ,
21- " esnext" ,
22- " node"
21+ " esnext"
2322 ],
2423 "allowJs" : true ,
2524 "skipLibCheck" : true ,
You can’t perform that action at this time.
0 commit comments