Comments (8)
I tried replace
import _Modeler from 'bpmn-js/lib/Modeler.js';
by
import * as _Modeler from "bpmn-js/dist/bpmn-modeler.production.min.js";
Build success and no crash on runtime.
from angular-bpmn.
Same issue, may I help with it, narve?
from angular-bpmn.
This is due to the Angular javascript-minification - the name of the variables are minified, e.g. "paletteProvider" becomes "e".
I really haven't spent much time researching this - I just skipped the "production" mode. The whole "production" mode and javascript minification (and Angular in general:D) is just plain stupid so I don't want to waste my limited brain power on these issues :)
from angular-bpmn.
Having said that, I've just migrated my main project to Angular 7 (the Github project was just an experiment to set things up), and everything worked rather smoothly. Possibly even the --prod mode. I'll check it out week after next when I'm back at work and comment here.
from angular-bpmn.
Hi guys. I tried production build but cannot see any error. How to reproduce?
from angular-bpmn.
Builds ok, crashes on runtime.
from angular-bpmn.
Surprisingly that works perfectly, nice catch, @dangviettuan !! I'll push a patch immediately.
from angular-bpmn.
Pushed, thanks again :)
from angular-bpmn.
Related Issues (20)
- Properties panel HOT 1
- cant save and load work from locally HOT 2
- Hiding the default tools in palette present in angular-app HOT 2
- Customizing palette HOT 5
- importXML issue(bpmn file angular)
- Keyboard shortcuts are not working
- Request for library integration
- Sample Project not work HOT 1
- dmnjs with angular 5 HOT 1
- Implement i18n
- Create Tab according type
- how to add bpmn properties-panel
- Bind Form on dropped object HOT 1
- Override default palette entries with custom palette entries
- Doesn't work with the latest bpmn-js/diagram-js versions (^2) HOT 5
- Getting error on ng build --prod HOT 4
- couldn't able to drag the components to the work sheet HOT 4
- Built-in Color Support not available? HOT 1
- BPMN Execute Engine? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-bpmn.