Add rootURL to publicAssetURL
This commit is contained in:
parent
abbea3eac5
commit
d20c8ce440
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ module.exports = function (defaults) {
|
|||
// splitAtRoutes: [],
|
||||
packagerOptions: {
|
||||
// publicAssetURL is used similarly to Ember CLI's asset fingerprint prepend option.
|
||||
publicAssetURL: '/',
|
||||
publicAssetURL: isProduction() ? EmberApp.env().rootURL : '/',
|
||||
// Embroider lets us send our own options to the style-loader
|
||||
cssLoaderOptions: {
|
||||
// don't create source maps in production
|
||||
|
|
|
|||
Loading…
Reference in a new issue