var fs = require("fs"); var content = fs.readFileSync("./dist/govue-release.js") // content = content.toString().replace(`_m("`, `this._m("`).replace(`var isHTMLTag = `, `var isHTMLTag = makeMap('html,body,base,head,link,meta,style,title');var _isHTMLTag = `) // content = content.toString().replace(`'production'`).replace(`"development"`) // fs.writeFileSync("./dist/index.js", content)