mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-11-09 20:00:12 +00:00
6 lines
225 B
JavaScript
6 lines
225 B
JavaScript
|
let fs = require('fs');
|
||
|
|
||
|
let content = fs.readFileSync("out/index.html", 'utf8');
|
||
|
|
||
|
fs.writeFileSync("out/index.html", content.replace('<script src="main.js"></script>', '<script src="main.js"></script>'+process.env.INJECT));
|