Open teemuniiranen opened 7 years ago
I have not used Aurelia in a while so hopefully someone else in the community can advise on the new webpack stuff.
Please read the new Aurelia WebPack Plugin docs.
https://github.com/jods4/aurelia-webpack-build/wiki/Managing-dependencies
Sorry I meant more that I don't do any work with Aurelia at the moment and I do not want to pick it back up again currently to fix this, as no doubt another month down the line another module loading mechanism will appear which will then take time to implement again, so if someone wants this support add it as a PR unfortunately my time on open source projects is spent elsewhere currently and I have spent countless hours on my aurelia projects and 99% of that time was adding new module loading mechanisms and support for various eco systems, about 1% was spend writing the actual plugin logic.
Thanks @Tarpsvo for the link. Works fine with ModuleDependenciesPlugin.
new ModuleDependenciesPlugin({
"aurelia-chart": [ './elements/chart-element', './attributes/chart-attribute' ],
"parent-module": [ "child-module" ],
}),
I am getting "unable to find module" error with the latest webpack-plugin git://github.com/aurelia/webpack-plugin.git#v2.0-rc2
I have included sub modules in webpack.config.js
And also added it as a plugin in main.js:
Any ideas?