(name)
| 4 | const page = require("./page.html"); |
| 5 | |
| 6 | const readFile = (name) => |
| 7 | fs.readFileSync(path.resolve(__dirname, name), "utf-8"); |
| 8 | |
| 9 | // `output.htmlFilename` defaults to `output.filename` with `.js` swapped for |
| 10 | // `.html`, mirroring the CSS pipeline. `[name]` in the template resolves to |
no test coverage detected