chore: Fixed script to include css for pattern examples
This commit is contained in:
parent
64f54cc436
commit
3b4113f977
1 changed files with 1 additions and 1 deletions
|
@ -432,7 +432,7 @@ function configurePatternExample(pkg, config) {
|
||||||
let template = handlebars.compile(fs.readFileSync(path.join(source, file), 'utf-8'))
|
let template = handlebars.compile(fs.readFileSync(path.join(source, file), 'utf-8'))
|
||||||
fs.writeFileSync(path.join(dest, file), template(replace))
|
fs.writeFileSync(path.join(dest, file), template(replace))
|
||||||
}
|
}
|
||||||
for (let file of ['index.html', 'manifest.json']) {
|
for (let file of ['index.html', 'manifest.json', 'layout.css']) {
|
||||||
let template = handlebars.compile(fs.readFileSync(path.join(source, 'public', file), 'utf-8'))
|
let template = handlebars.compile(fs.readFileSync(path.join(source, 'public', file), 'utf-8'))
|
||||||
fs.writeFileSync(path.join(dest, 'public', file), template(replace))
|
fs.writeFileSync(path.join(dest, 'public', file), template(replace))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue