Fix js-url not import correctly
This commit is contained in:
parent
8cf849e825
commit
aff206ca95
2 changed files with 3 additions and 4 deletions
|
@ -11,7 +11,6 @@ require('highlight.js/styles/github-gist.css');
|
||||||
var toMarkdown = require('to-markdown');
|
var toMarkdown = require('to-markdown');
|
||||||
|
|
||||||
var saveAs = require('file-saver').saveAs;
|
var saveAs = require('file-saver').saveAs;
|
||||||
var url = require('js-url');
|
|
||||||
var randomColor = require('randomcolor');
|
var randomColor = require('randomcolor');
|
||||||
|
|
||||||
var _ = require("lodash");
|
var _ = require("lodash");
|
||||||
|
|
|
@ -172,12 +172,12 @@ module.exports = {
|
||||||
"script!listPagnation",
|
"script!listPagnation",
|
||||||
"expose?select2!select2",
|
"expose?select2!select2",
|
||||||
"expose?moment!moment",
|
"expose?moment!moment",
|
||||||
"js-url",
|
"script!js-url",
|
||||||
path.join(__dirname, 'public/js/cover.js')
|
path.join(__dirname, 'public/js/cover.js')
|
||||||
],
|
],
|
||||||
index: [
|
index: [
|
||||||
"script!jquery-ui-resizable",
|
"script!jquery-ui-resizable",
|
||||||
"js-url",
|
"script!js-url",
|
||||||
"expose?filterXSS!xss",
|
"expose?filterXSS!xss",
|
||||||
"script!Idle.Js",
|
"script!Idle.Js",
|
||||||
"expose?LZString!lz-string",
|
"expose?LZString!lz-string",
|
||||||
|
@ -227,7 +227,7 @@ module.exports = {
|
||||||
"expose?jsyaml!js-yaml",
|
"expose?jsyaml!js-yaml",
|
||||||
"script!mermaid",
|
"script!mermaid",
|
||||||
"expose?moment!moment",
|
"expose?moment!moment",
|
||||||
"js-url",
|
"script!js-url",
|
||||||
"script!handlebars",
|
"script!handlebars",
|
||||||
"expose?hljs!highlight.js",
|
"expose?hljs!highlight.js",
|
||||||
"expose?emojify!emojify.js",
|
"expose?emojify!emojify.js",
|
||||||
|
|
Loading…
Reference in a new issue