Webpack dependencies
Opened this issue · 3 comments
Please declare internal dependencies so Webpack is aware of them.
Hi @reggersusa
can you clarify what dependencies you want to declare?
JSPM section has 2 dependencies defined
"dependencies": {
"aurelia-dependency-injection": "^1.0.0",
"aurelia-router": "^1.0.0"
},
But I'm not sure if this is necessary, because imho 99% of applications has those dependencies already included and they are loaded during Auralia bootstrapping, thus should be available when configuring the plugin.
Thanks
Mat
Hi @bsbranco,
those are global app resource such as custom attributes and a value converter.
How do you want to declare them? They are imported in the main plugin configuration file, thus webpack or requirejs (used in aurelia-cli) should know what needs to be bundled, no custom configuration should be necessary.
I'm using this in production and it works pretty well :)
Thanks
Mat