freegroup / draw2d

Create Visio like drawings, diagrams or workflows with JavaScript and HTML5
https://freegroup.github.io/draw2d/#/examples
MIT License
738 stars 228 forks source link

Try to rebuild draw2d -> webpack css-loader error #190

Closed TNT44 closed 1 year ago

TNT44 commented 3 years ago

I try to rebuild draw2d from sources. ( without any change).

I m newbies with webpack.

ERROR in ./src/css/contextmenu.css (./node_modules/css-loader/dist/cjs.js!./src/css/contextmenu.css) Module build failed (from ./node_modules/css-loader/dist/cjs.js): TypeError: this.getOptions is not a function at Object.loader (/Users/dterencio/Documents/MesDev/JS/JsGraphTech/draw2d-master/node_modules/css-loader/dist/index.js:31:27) @ ./src/css/contextmenu.css 2:14-86 @ ./src/policy/line/OrthogonalSelectionFeedbackPolicy.js @ ./src/index.js

thanks

freegroup commented 1 year ago

project is now again active and some build stuff has changed.

npm install
npm run build