summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWu Cheng-Han2016-11-28 02:14:18 +0800
committerWu Cheng-Han2016-11-28 02:14:18 +0800
commitc7a36dadcf56fc0f19dea4cb986dae1f6166fe03 (patch)
tree355a05ebe8a141602661db18b03b0e3a84f61d7c
parent959ed08453a728d944fb65ab863c64f0f69a400b (diff)
Fix missing expose reveal markdown in webpack config
Diffstat (limited to '')
-rw-r--r--webpackBaseConfig.js15
1 files changed, 8 insertions, 7 deletions
diff --git a/webpackBaseConfig.js b/webpackBaseConfig.js
index 13686e7d..c80e44ff 100644
--- a/webpackBaseConfig.js
+++ b/webpackBaseConfig.js
@@ -184,9 +184,9 @@ module.exports = {
"script!ot",
"flowchart.js",
"js-sequence-diagrams",
+ "expose?RevealMarkdown!reveal-markdown",
path.join(__dirname, 'public/js/google-drive-upload.js'),
path.join(__dirname, 'public/js/google-drive-picker.js'),
- path.join(__dirname, 'public/js/reveal-markdown.js'),
path.join(__dirname, 'public/js/index.js')
],
"index-styles": [
@@ -239,16 +239,16 @@ module.exports = {
"js-sequence-diagrams",
"expose?Viz!viz.js",
"expose?io!socket.io-client",
+ "expose?RevealMarkdown!reveal-markdown",
path.join(__dirname, 'public/js/google-drive-upload.js'),
path.join(__dirname, 'public/js/google-drive-picker.js'),
- path.join(__dirname, 'public/js/reveal-markdown.js'),
path.join(__dirname, 'public/js/index.js')
],
pretty: [
"expose?filterXSS!xss",
"flowchart.js",
"js-sequence-diagrams",
- path.join(__dirname, 'public/js/reveal-markdown.js'),
+ "expose?RevealMarkdown!reveal-markdown",
path.join(__dirname, 'public/js/pretty.js')
],
"pretty-styles": [
@@ -275,14 +275,14 @@ module.exports = {
"flowchart.js",
"js-sequence-diagrams",
"expose?Viz!viz.js",
- path.join(__dirname, 'public/js/reveal-markdown.js'),
+ "expose?RevealMarkdown!reveal-markdown",
path.join(__dirname, 'public/js/pretty.js')
],
slide: [
"expose?filterXSS!xss",
"flowchart.js",
"js-sequence-diagrams",
- path.join(__dirname, 'public/js/reveal-markdown.js'),
+ "expose?RevealMarkdown!reveal-markdown",
path.join(__dirname, 'public/js/slide.js')
],
"slide-styles": [
@@ -310,7 +310,7 @@ module.exports = {
"expose?Viz!viz.js",
"headjs",
"expose?Reveal!reveal.js",
- path.join(__dirname, 'public/js/reveal-markdown.js'),
+ "expose?RevealMarkdown!reveal-markdown",
path.join(__dirname, 'public/js/slide.js')
]
},
@@ -340,7 +340,8 @@ module.exports = {
"jquery-ui-resizable": path.join(__dirname, 'public/vendor/jquery-ui/jquery-ui.min.js'),
"gist-embed": path.join(__dirname, 'node_modules/gist-embed/gist-embed.min.js'),
"bootstrap-tooltip": path.join(__dirname, 'public/vendor/bootstrap/tooltip.min.js'),
- "headjs": path.join(__dirname, 'node_modules/reveal.js/lib/js/head.min.js')
+ "headjs": path.join(__dirname, 'node_modules/reveal.js/lib/js/head.min.js'),
+ "reveal-markdown": path.join(__dirname, 'public/js/reveal-markdown.js'),
}
},