Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better solution for <meta> tag in index.js #3

Open
B-Stefan opened this issue Jan 15, 2016 · 3 comments
Open

Better solution for <meta> tag in index.js #3

B-Stefan opened this issue Jan 15, 2016 · 3 comments

Comments

@B-Stefan
Copy link
Collaborator

Currently, we insert the a <meta> tag in the index.js file to pass the asset-map to the application.
This is necessary to support the fingerprint addon but if anybody know a better way to pass information from the build step to the application please let me know.

@MiguelMadero
Copy link

AssetRev could potentially also modify the output of config/environment that include the information fo the bundles if the bundle data includes something that looks like a path. Like assets/bundle.js instead of just the bundle-name.

@duizendnegen
Copy link
Owner

Yep, that'd be a much better path - especially considering the Ember team themselves are also looking at now embedding config in index.html themselves too.

@MiguelMadero
Copy link

embedding config in index.html themselves too.

That works already if you set storeConfigInMeta: true on your cli-build

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

No branches or pull requests

3 participants