I am using ember version
My need is to generate the build
index.html file based on the environment variable type.
I have a ENV variable as
isDemo is true => build should generated based on the
isDemo is false => build should generated based on the
I have few static variables defined in
public/demo-index.html which controls the action that can be performed in demo version of my app.
I have set up all the process to run the demo version of app. But i want to test both the demo version and actual version of my app. For this every time before starting the server i have to replace the contents
My need is to mimic the flow of test environment which uses the
index.html file inside
test folder for running test cases.
Kindly suggest me with some ideas to overcome the above problem.
Thanks in advance