Skip to content
This repository has been archived by the owner on May 1, 2020. It is now read-only.

[Feature Request] Possible to do production build without AOT #1460

Open
JeongJun-Lee opened this issue Aug 7, 2018 · 1 comment
Open

[Feature Request] Possible to do production build without AOT #1460

JeongJun-Lee opened this issue Aug 7, 2018 · 1 comment

Comments

@JeongJun-Lee
Copy link

Note: for support questions, please use one of these channels:

https://forum.ionicframework.com/
http://ionicworldwide.herokuapp.com/

Short description of the problem:

I need to disable AOT build in production build by the issue below.
typeorm/ionic-example#23

I found out it's impossible through conversation in community below.
https://forum.ionicframework.com/t/is-it-possible-to-do-a-production-build-without-aot-and-will-it-be-possible-using-ionic-angular-4/119050/11

What behavior are you expecting?

Like export IONIC_AOT=false , is it possible to disable AOT by the Ionic Environment Variable?
If impossible, please provide a option to disable AOT.

Steps to reproduce:
1.
2.
3.

insert any relevant code between the above and below backticks

Which @ionic/app-scripts version are you using?

Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)

@nextbyn
Copy link

nextbyn commented Dec 20, 2018

Still waiting for a workaround I have a project already to launch in production (--prod) with ionic-cli 3.9.2 and typeorm 2.9
I tried several changes and nothing seems to fix this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants