delete-text-loader
v1.0.2
Published
delete special text loader for webpack
Downloads
1
Readme
introduce
a webpack loader for replace Special String
{
loader: "delete-text-loader",
options: {
fileName: '', // for this filename, regexp or filename string
rules: [
{
rule: /\/\*<NEEDDELETE>\*\/[\s\S]*\/\*<NEEDDELETE>\*\//,
replacement: ''
}
]
}
}