1
0
Fork 0

chore: Add netlify.toml files for patterns

This commit is contained in:
Joost De Cock 2020-10-25 14:05:27 +01:00
parent b3c4f63523
commit e2cc955753
37 changed files with 325 additions and 1 deletions

View file

@ -428,7 +428,7 @@ function configurePatternExample(pkg, config) {
yarn: true,
language: 'en'
}
for (let file of ['package.json', 'README.md']) {
for (let file of ['package.json', 'README.md', 'netlify.toml']) {
let template = handlebars.compile(fs.readFileSync(path.join(source, file), 'utf-8'))
fs.writeFileSync(path.join(dest, file), template(replace))
}