chore: Add netlify.toml files for patterns
This commit is contained in:
parent
b3c4f63523
commit
e2cc955753
37 changed files with 325 additions and 1 deletions
|
@ -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))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue