File tree Expand file tree Collapse file tree 3 files changed +56
-0
lines changed Expand file tree Collapse file tree 3 files changed +56
-0
lines changed Original file line number Diff line number Diff line change 8787 "rollup-plugin-node-resolve" : " ^5.2.0" ,
8888 "rollup-plugin-replace" : " ^2.2.0" ,
8989 "rollup-plugin-terser" : " ^5.1.1" ,
90+ "rollup-plugin-typescript2" : " ^0.22.1" ,
9091 "rxjs" : " ^6.5.2" ,
9192 "typescript" : " ^3.5.3" ,
9293 "typings-tester" : " ^0.3.2"
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'
5+ import typescript from 'rollup-plugin-typescript2'
46import { terser } from 'rollup-plugin-terser'
57
68import pkg from './package.json'
@@ -18,6 +20,9 @@ export default [
1820 nodeResolve ( {
1921 extensions : [ '.ts' ]
2022 } ) ,
23+ typescript ( {
24+ cacheRoot : path . resolve ( './node_modules/.cache' )
25+ } ) ,
2126 babel ( )
2227 ]
2328 } ,
@@ -34,6 +39,9 @@ export default [
3439 nodeResolve ( {
3540 extensions : [ '.ts' ]
3641 } ) ,
42+ typescript ( {
43+ cacheRoot : path . resolve ( './node_modules/.cache' )
44+ } ) ,
3745 babel ( )
3846 ]
3947 } ,
@@ -49,6 +57,9 @@ export default [
4957 replace ( {
5058 'process.env.NODE_ENV' : JSON . stringify ( 'production' )
5159 } ) ,
60+ typescript ( {
61+ cacheRoot : path . resolve ( './node_modules/.cache' )
62+ } ) ,
5263 babel ( {
5364 exclude : 'node_modules/**'
5465 } ) ,
@@ -76,6 +87,9 @@ export default [
7687 nodeResolve ( {
7788 extensions : [ '.ts' ]
7889 } ) ,
90+ typescript ( {
91+ cacheRoot : path . resolve ( './node_modules/.cache' )
92+ } ) ,
7993 babel ( {
8094 exclude : 'node_modules/**'
8195 } ) ,
@@ -98,6 +112,9 @@ export default [
98112 nodeResolve ( {
99113 extensions : [ '.ts' ]
100114 } ) ,
115+ typescript ( {
116+ cacheRoot : path . resolve ( './node_modules/.cache' )
117+ } ) ,
101118 babel ( {
102119 exclude : 'node_modules/**'
103120 } ) ,
You can’t perform that action at this time.
0 commit comments