Resolve dependency module requiring
* es5 style module exports * remove script tag require * webpack config ProvidePlugin Note that this commit only fix JavaScript module loading runtime error.
This commit is contained in:
@@ -50,4 +50,8 @@ var filterXSSOptions = {
|
||||
|
||||
function preventXSS(html) {
|
||||
return filterXSS(html, filterXSSOptions);
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
preventXSS: preventXSS
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user