webpack: Fix missing expose for toMarkdown.

This commit is contained in:
Tim Abbott
2018-07-05 13:24:01 +02:00
parent a1a36e7971
commit 0bd139af0c

View File

@@ -133,6 +133,7 @@ export default (env?: string) : webpack.Configuration => {
{ path: "../node_modules/jquery/dist/jquery.js", name: ['$', 'jQuery'] },
{ path: "../node_modules/underscore/underscore.js", name: '_' },
{ path: "../node_modules/handlebars/dist/handlebars.runtime.js", name: 'Handlebars' },
{ path: "../node_modules/to-markdown/dist/to-markdown.js", name: 'toMarkdown' },
{ path: "../node_modules/sortablejs/Sortable.js"}
];
config.module.rules.push(...getExposeLoaders(exposeOptions));