willjs
willjs copied to clipboard
Change config after load defaultConfigs
Its not possible join configurations on will.js, so, its better have a way to do it.
Solving problem with above code. Its not the best way but solves for time.
will.use(["will.js"])(function(status) {
will.configure(function(config) {
config.addDomain("newlocation", "/assets/components", "js");
});
});
Hi Mike,
I made these changes on the commit 6f88b17c494068b01c443a1b45ff5f67e681f7de, adding a new method postConfigure
. With this new method you can keep the default configuration and add some post-load configuration to be appended.
Please see the spec to check the behavior of this before I generate a new release.