File tree Expand file tree Collapse file tree 2 files changed +16
-7
lines changed Expand file tree Collapse file tree 2 files changed +16
-7
lines changed Original file line number Diff line number Diff line change 55lib
66es
77coverage
8- # used by rollup-plugin-typescript2
9- .rpt2_cache /
108
119website /translated_docs
1210website /build /
Original file line number Diff line number Diff line change 1+ import path from 'path'
12import nodeResolve from 'rollup-plugin-node-resolve'
23import babel from 'rollup-plugin-babel'
34import replace from 'rollup-plugin-replace'
@@ -19,7 +20,9 @@ export default [
1920 nodeResolve ( {
2021 extensions : [ '.ts' ]
2122 } ) ,
22- typescript ( ) ,
23+ typescript ( {
24+ cacheRoot : path . resolve ( './node_modules/.cache' )
25+ } ) ,
2326 babel ( )
2427 ]
2528 } ,
@@ -36,7 +39,9 @@ export default [
3639 nodeResolve ( {
3740 extensions : [ '.ts' ]
3841 } ) ,
39- typescript ( ) ,
42+ typescript ( {
43+ cacheRoot : path . resolve ( './node_modules/.cache' )
44+ } ) ,
4045 babel ( )
4146 ]
4247 } ,
@@ -52,7 +57,9 @@ export default [
5257 replace ( {
5358 'process.env.NODE_ENV' : JSON . stringify ( 'production' )
5459 } ) ,
55- typescript ( ) ,
60+ typescript ( {
61+ cacheRoot : path . resolve ( './node_modules/.cache' )
62+ } ) ,
5663 babel ( {
5764 exclude : 'node_modules/**'
5865 } ) ,
@@ -80,7 +87,9 @@ export default [
8087 nodeResolve ( {
8188 extensions : [ '.ts' ]
8289 } ) ,
83- typescript ( ) ,
90+ typescript ( {
91+ cacheRoot : path . resolve ( './node_modules/.cache' )
92+ } ) ,
8493 babel ( {
8594 exclude : 'node_modules/**'
8695 } ) ,
@@ -103,7 +112,9 @@ export default [
103112 nodeResolve ( {
104113 extensions : [ '.ts' ]
105114 } ) ,
106- typescript ( ) ,
115+ typescript ( {
116+ cacheRoot : path . resolve ( './node_modules/.cache' )
117+ } ) ,
107118 babel ( {
108119 exclude : 'node_modules/**'
109120 } ) ,
You can’t perform that action at this time.
0 commit comments