ember-fastboot / ember-fastboot/fastboot

Changing the FastBoot runtime environment

Open
#218 3 comments 2 reactions 0 assignees View on GitHub
question
Dominant language
No language data
Stars
155
Forks
67
PR merge metrics
No merged PRs in 30d

Description

I've got a question about how to best load an Ember application built from Ember CLI into FastBoot for [ember-cli-fastboot-testing](https://github.com/embermap/ember-cli-fastboot-testing)

I have an Ember application that's built using ember-cli, so it's build time environment is `development`. When I load that dist path into `new FastBoot()` it uses the the application's config environment of `development`, which makes sense!

However, I'm wondering if I can take that same build and load it into FastBoot with a run time environment of `test`. I guess this question boils down to: Do I have the ability to tell FastBoot to use a different run time environment + config from what the app was built with?

What I'm trying to accomplish: I want fastboot-testing to piggy back off of the dist built by ember-cli-fastboot, but when it loads that dist I want it to use a runtime env of `test`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.