Closed aitboudad closed 7 years ago
Hi, is there an example that use custom paths provided by typescript. right now I get the following error:
built/main.browser.js:2: ERROR - required "module$$app$app_module_ngfactory" namespace never provided import { AppModuleNgFactory } from '@app/app.module.ngfactory'; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Here is my tsconfig.json:
tsconfig.json
// tsconfig.json { "compilerOptions": { "paths": { "@app/*": ["./app/*"], } } }
solved by using custom script that convert paths into relative path.
Hi, is there an example that use custom paths provided by typescript. right now I get the following error:
Here is my
tsconfig.json
: