--appEntryPoint does not work in production #603
Description
Short description of the problem:
When using ionic-app-scripts build --prod --appEntryPoint ./src/path_to_file.ts, an error occur when building in production (--prod).
What behavior are you expecting?
calling --appEntryPoint in production should work.
Steps to reproduce:
- call ionic-app-scripts build --prod --appEntryPoint ./src/path_to_file.ts
- error occur
Which @ionic/app-scripts version are you using?
0.48
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
Here's the error I got:
Error: Could not find entry point (bootstrap file) ./src/path_to_file.ts
at [...]\node_modules@ionic\app-scripts\dist\aot\aot-compiler.js:82:41
Also, if I try to use {SRC} environment variable in the path (instead of specifying ./src), I get an error. It occur because it look for a file with '{SRC}' in his path instead of the value of this environment variable. Here's the error: "main.dev.ts" and "main.prod.ts" have been deprecated. Please create a new file "main.ts" containing...