File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 28
28
cp config/ci.config.json config/project.json
29
29
yarn
30
30
- name : build
31
- run : yarn build:changed core
31
+ run : yarn build:changed core --buildAppExp
32
32
- name : Run tests on changed packages
33
33
run : xvfb-run yarn test:changed core
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