File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ import json from '@rollup/plugin-json';
19
19
import typescriptPlugin from 'rollup-plugin-typescript2' ;
20
20
import typescript from 'typescript' ;
21
21
import path from 'path' ;
22
+ import { importPathTransformer } from '../../scripts/exp/ts-transform-import-path' ;
22
23
23
24
import pkg from './exp/package.json' ;
24
25
@@ -31,7 +32,8 @@ const deps = Object.keys(
31
32
*/
32
33
const es5BuildPlugins = [
33
34
typescriptPlugin ( {
34
- typescript
35
+ typescript,
36
+ transformers : [ importPathTransformer ]
35
37
} ) ,
36
38
json ( )
37
39
] ;
@@ -71,7 +73,8 @@ const es2017BuildPlugins = [
71
73
compilerOptions : {
72
74
target : 'es2017'
73
75
}
74
- }
76
+ } ,
77
+ transformers : [ importPathTransformer ]
75
78
} ) ,
76
79
json ( { preferConst : true } )
77
80
] ;
You can’t perform that action at this time.
0 commit comments