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 5
5
lib
6
6
es
7
7
coverage
8
- # used by rollup-plugin-typescript2
9
- .rpt2_cache /
10
8
11
9
website /translated_docs
12
10
website /build /
Original file line number Diff line number Diff line change
1
+ import path from 'path'
1
2
import nodeResolve from 'rollup-plugin-node-resolve'
2
3
import babel from 'rollup-plugin-babel'
3
4
import replace from 'rollup-plugin-replace'
@@ -19,7 +20,9 @@ export default [
19
20
nodeResolve ( {
20
21
extensions : [ '.ts' ]
21
22
} ) ,
22
- typescript ( ) ,
23
+ typescript ( {
24
+ cacheRoot : path . resolve ( './node_modules/.cache' )
25
+ } ) ,
23
26
babel ( )
24
27
]
25
28
} ,
@@ -36,7 +39,9 @@ export default [
36
39
nodeResolve ( {
37
40
extensions : [ '.ts' ]
38
41
} ) ,
39
- typescript ( ) ,
42
+ typescript ( {
43
+ cacheRoot : path . resolve ( './node_modules/.cache' )
44
+ } ) ,
40
45
babel ( )
41
46
]
42
47
} ,
@@ -52,7 +57,9 @@ export default [
52
57
replace ( {
53
58
'process.env.NODE_ENV' : JSON . stringify ( 'production' )
54
59
} ) ,
55
- typescript ( ) ,
60
+ typescript ( {
61
+ cacheRoot : path . resolve ( './node_modules/.cache' )
62
+ } ) ,
56
63
babel ( {
57
64
exclude : 'node_modules/**'
58
65
} ) ,
@@ -80,7 +87,9 @@ export default [
80
87
nodeResolve ( {
81
88
extensions : [ '.ts' ]
82
89
} ) ,
83
- typescript ( ) ,
90
+ typescript ( {
91
+ cacheRoot : path . resolve ( './node_modules/.cache' )
92
+ } ) ,
84
93
babel ( {
85
94
exclude : 'node_modules/**'
86
95
} ) ,
@@ -103,7 +112,9 @@ export default [
103
112
nodeResolve ( {
104
113
extensions : [ '.ts' ]
105
114
} ) ,
106
- typescript ( ) ,
115
+ typescript ( {
116
+ cacheRoot : path . resolve ( './node_modules/.cache' )
117
+ } ) ,
107
118
babel ( {
108
119
exclude : 'node_modules/**'
109
120
} ) ,
You can’t perform that action at this time.
0 commit comments