Skip to content

Commit 4d15ce9

Browse files
committed
transform imports from @firebase/app-exp to @firebase/app
1 parent 389e18c commit 4d15ce9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packages/database/rollup.config.exp.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import json from '@rollup/plugin-json';
1919
import typescriptPlugin from 'rollup-plugin-typescript2';
2020
import typescript from 'typescript';
2121
import path from 'path';
22+
import { importPathTransformer } from '../../scripts/exp/ts-transform-import-path';
2223

2324
import pkg from './exp/package.json';
2425

@@ -31,7 +32,8 @@ const deps = Object.keys(
3132
*/
3233
const es5BuildPlugins = [
3334
typescriptPlugin({
34-
typescript
35+
typescript,
36+
transformers: [importPathTransformer]
3537
}),
3638
json()
3739
];
@@ -71,7 +73,8 @@ const es2017BuildPlugins = [
7173
compilerOptions: {
7274
target: 'es2017'
7375
}
74-
}
76+
},
77+
transformers: [importPathTransformer]
7578
}),
7679
json({ preferConst: true })
7780
];

0 commit comments

Comments
 (0)