mercredi 29 juin 2016

Ember build not picking up changes to environment.js

I have a working configuration in my environment.js, but want to add a variable. I placed the pageSize variable like so: var ENV = { contentSecurityPolicy: { 'style-src': "'self' 'unsafe-inline'" }, modulePrefix: 'fdms-admin', environment: environment, ROOT_URL: process.env.ROOT_URL, BASE_URL: process.env.BASE_URL, pageSize: 100, baseURL: '/admin/', locationType: 'auto', EmberENV: { ...

When I run ember build and place the assets folder inside of my Java project, the changes to the config are not being picked up. The pageSize variabale is undefined on the ENV object. Any ideas?




Aucun commentaire:

Enregistrer un commentaire