You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm unclear if this path is an actually path or something else?
Anytime I build I just get
Cannot find module '@app/env'. in all my component files.
The component files are outside the normal Angular /src/app/pages location.
The text was updated successfully, but these errors were encountered:
We have multiple apps and trying to not have duplicated code everything.
Trying to move as much in some higher folder and then include it in multiple apps.
Apps
--Enviroments
--Components
--App1
tsconfig.json
-- -- src/app
config/webpack.config.js
I just need the webpack to see the Environments.
I changed the environment Path function to find the correct file.
var filePath = '../environments/environment' + (env === 'prod' ? '' : '.' + env) + '.ts';
I don't know if I need to change tsConfig.json file.
"paths": {
"@app/env": [
"environments/environment"
]
}
I'm unclear if this path is an actually path or something else?
Anytime I build I just get
Cannot find module '@app/env'. in all my component files.
The component files are outside the normal Angular /src/app/pages location.
The text was updated successfully, but these errors were encountered: