Open Helaers opened 8 years ago
Angular 1.5.8 Webpack 1.13.2
I'm importing the lib as followed:
import angularCanvasPainter from 'angular-canvas-painter'; export default angular .module('projectName', [ // 3th party angularCanvasPainter, // application components, common, ]) .directive('app', appComponent) ;
and getting this error:
Argument 'module' is not a function, got Object
Is webpack not supported? How can I fix this?
Angular 1.5.8 Webpack 1.13.2
I'm importing the lib as followed:
and getting this error:
Is webpack not supported? How can I fix this?