Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : Shared config different stealconfigs?

$
0
0
No it seems not to work:

I have to following configuration:

stealconfig.js

  1. System.config({ .. common config..})
  2. System.buildConfig = {map: {"can/util/util" : "can/util/domless/domless"}};

stealconfig.web.js

  1. require('stealconfig')
  2. System.config({ .. additional specific config..})

stealconfig.web.js is used for dev mode and for build. It works while dev and additional config applies.

but after build additional config is not applied after load.


How to fix that?

Viewing all articles
Browse latest Browse all 3491

Trending Articles