-
Notifications
You must be signed in to change notification settings - Fork 37
/
build.js
37 lines (33 loc) · 1.33 KB
/
build.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
var buildify = require('buildify');
buildify()
// Core impressionist file that provides impressionist() api function.
.load('src/impressionist.js')
// Libraries that are made available early, used by other plugins
.concat(['src/lib/css3.js',
'src/lib/gc.js',
'src/lib/util.js'])
// Plugins provide features
.concat([
// Disabled when we moved to electron: 'src/plugins/axis/axis.js',
'src/plugins/camera/camera.js',
'src/plugins/cameracontrols/cameracontrols.js',
'src/plugins/electron/electron.js',
'src/plugins/loadcss/loadcss.js',
'src/plugins/stepedit/stepedit.js',
'src/plugins/stepstyles/stepstyles.js',
'src/plugins/tinymce/tinymce.js',
'src/plugins/toolbar/toolbar.js'])
.save('js/impressionist.js')
// .uglify()
// .save('js/impressionist.min.js');
buildify()
.load('src/impressionist.css')
.concat([
// Disabled when we moved to electron: 'src/plugins/axis/axis.css',
'src/plugins/camera/camera.css',
'src/plugins/cameracontrols/cameracontrols.css',
'src/plugins/stepedit/stepedit.css',
'src/plugins/stepstyles/stepstyles.css',
'src/plugins/tinymce/tinymce.css',
'src/plugins/toolbar/toolbar.css'])
.save('css/impressionist.css');