We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b4b4c9 commit bbe3a35Copy full SHA for bbe3a35
tests/e2e/tests/misc/non-relative-module-resolution.ts
@@ -0,0 +1,21 @@
1
+import { prependToFile, writeMultipleFiles } from '../../utils/fs';
2
+import { ng } from '../../utils/process';
3
+
4
5
+export default async function () {
6
+ await writeMultipleFiles({
7
+ './src/app/foo.ts': `
8
+ export const foo = 'fooo';
9
+ `,
10
+ './src/app/bar.ts': `
11
+ import { foo } from 'app/foo';
12
13
+ console.log(foo);
14
+ `
15
+ }),
16
17
+ await prependToFile('src/app/app.module.ts', `import './bar';\n`);
18
19
+ await ng('build');
20
+ await ng('build', '--aot');
21
+}
0 commit comments