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

Re : Shared config different stealconfigs?

$
0
0
I found that it can be fixed by extracting additonal config in separate global module (as common config)

This is working configuration:

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

stealconfig.web.specific.js
Copy code
  1. System.config({ .. additional specific config..})
stealconfig.web.js
  1. require('stealconfig.common')
  2. require('stealconfig.web.specific')
I wonder if it is possible to get rid of excessive stealconfig file.

Viewing all articles
Browse latest Browse all 3491

Trending Articles