Closed fmal closed 8 years ago
Hi,
to use this plugin with aurelia-webpack,, the main field of package.json should point to dist/commonjs/index.js. Then it's a matter of specifying the following in your webpack.config.js:
package.json
dist/commonjs/index.js
webpack.config.js
{ plugins: [ new AureliaWebpackPlugin({ includeSubModules: [{ moduleId: 'aurelia-chart' }] }) ], alias: { 'chartjs': 'chart.js' } }
This might be something worth adding to the readme :smiley:
Thanks, have merged
Thanks, could you publish on NPM?
oh yes, will do now for you, just need to bump version etc.
done (0.2.4)
Awesome, thanks a lot :+1:
Hi,
to use this plugin with aurelia-webpack,, the main field of
package.json
should point todist/commonjs/index.js
. Then it's a matter of specifying the following in yourwebpack.config.js
:This might be something worth adding to the readme :smiley: