Package Exports
- script-inline-escape-webpack-plugin
- script-inline-escape-webpack-plugin/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (script-inline-escape-webpack-plugin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
script-inline-escape-webpack-plugin
Summary
该插件用于修正 html 文件内联的 script
标签,标签内部字符串 '' 未转义的场景,修正逻辑 </script> -> <\/script>
例如:使用 script-ext-html-webpack-plugin 插件后,配置 option:{ inline:[]},部分场景下生成错误内容,使用此插件可对未转义的字符串进行修正
Installation
Install the plugin with npm:
$ npm install script-inline-escape-webpack-plugin