This repository has been archived by the owner on Feb 13, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.js
44 lines (44 loc) · 2.79 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
38
39
40
41
42
43
44
require.config({
baseUrl: "./src/js/",
paths: {
'scribe': '../../bower_components/scribe/build/scribe',
'scribe-plugin-blockquote-command': '../../bower_components/scribe-plugin-blockquote-command/scribe-plugin-blockquote-command',
'scribe-plugin-curly-quotes': '../../bower_components/scribe-plugin-curly-quotes/scribe-plugin-curly-quotes',
'scribe-plugin-formatter-plain-text-convert-new-lines-to-html': '../../bower_components/scribe-plugin-formatter-plain-text-convert-new-lines-to-html/scribe-plugin-formatter-plain-text-convert-new-lines-to-html',
'scribe-plugin-heading-command': '../../bower_components/scribe-plugin-heading-command/scribe-plugin-heading-command',
'scribe-plugin-intelligent-unlink-command': '../../bower_components/scribe-plugin-intelligent-unlink-command/scribe-plugin-intelligent-unlink-command',
'scribe-plugin-keyboard-shortcuts': '../../bower_components/scribe-plugin-keyboard-shortcuts/scribe-plugin-keyboard-shortcuts',
'scribe-plugin-sanitizer': './plugins/scribe-plugin-sanitizer',
'scribe-plugin-smart-lists': '../../bower_components/scribe-plugin-smart-lists/scribe-plugin-smart-lists',
'scribe-plugin-toolbar': '../../bower_components/scribe-plugin-toolbar/scribe-plugin-toolbar',
'scribe-plugin-link-ui': './plugins/scribe-plugin-link-ui',
'scribe-plugin-inline-objects': './plugins/scribe-plugin-inline-objects',
'scribe-plugin-betty-cropper': './plugins/scribe-plugin-betty-cropper',
'scribe-plugin-onion-video': './plugins/scribe-plugin-onion-video',
'scribe-plugin-hr': './plugins/scribe-plugin-hr',
'scribe-plugin-youtube': './plugins/scribe-plugin-youtube',
'scribe-plugin-embed': './plugins/scribe-plugin-embed',
'scribe-plugin-embed-instagram': './plugins/scribe-plugin-embed-instagram',
'scribe-plugin-placeholder': './plugins/scribe-plugin-placeholder',
'scribe-plugin-anchor': './plugins/scribe-plugin-anchor',
'our-ensure-selectable-containers': './formatters/our-ensure-selectable-containers',
'enforce-p-elements': './formatters/enforce-p-elements',
'link-formatter': './formatters/link-formatter',
'only-trailing-brs': './formatters/only-trailing-brs',
'paste-strip-newlines': './formatters/paste-strip-newlines',
'paste-strip-nbsps': './formatters/paste-strip-nbsps',
'paste-sanitize': './formatters/paste-sanitize',
'paste-from-word': './formatters/paste-from-word',
'remove-a-styles': './formatters/remove-a-styles',
'strip-bold-in-headings': './formatters/strip-bold-in-headings',
'filter-for-export': './formatters/filter-for-export',
},
name: "../../bower_components/almond/almond",
wrap: {
startFile: 'src/js/wrap-start.frag',
endFile: 'src/js/wrap-end.frag'
},
include: ["onion-editor"],
optimize: "none",
out: "./build/onion-editor.js"
});