mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-01-29 02:04:55 +00:00
e3bf356461
* replace grunt with npm scripts * copy static assets to dist directory * build and copy library variants to dist directory Related to #725
12 lines
275 B
JavaScript
12 lines
275 B
JavaScript
'use strict';
|
|
|
|
var path = require('path');
|
|
|
|
var copySync = require('cpx').copySync;
|
|
|
|
var diagramAssets = path.join(path.dirname(require.resolve('diagram-js')), '/assets') + '/**';
|
|
|
|
console.log(diagramAssets);
|
|
|
|
copySync('assets/**', 'dist/');
|
|
copySync(diagramAssets, 'dist/'); |