How to use bpmn-js with latest lodash 4.17.4

bpmn-js uses Lodash 3, Lodash 4 removed category names from module paths:

// in 3.10.1
var chunk = require('lodash/array/chunk');

// in 4.0.0
var chunk = require('lodash/chunk');

See changelog.

I think that’s the issue.