fix(webpack): fix missing jsyaml reference

pull/2670/head
Chaim Lev-Ari 2018-11-29 13:02:58 +02:00
parent 2fce3c110b
commit aa14a8ba35
1 changed files with 3 additions and 1 deletions

View File

@ -97,7 +97,9 @@ module.exports = {
new ProvidePlugin({ new ProvidePlugin({
$: 'jquery', $: 'jquery',
jQuery: 'jquery', jQuery: 'jquery',
'window.jQuery': 'jquery' 'window.jQuery': 'jquery',
'window.jsyaml': 'js-yaml',
'jsyaml': 'js-yaml'
}), }),
new MiniCssExtractPlugin({ new MiniCssExtractPlugin({
filename: '[name].[hash].css', filename: '[name].[hash].css',