1
0
Fork 0

chore: Fixed script to include css for pattern examples

This commit is contained in:
Joost De Cock 2021-01-11 19:47:10 +01:00
parent 64f54cc436
commit 3b4113f977

View file

@ -432,7 +432,7 @@ function configurePatternExample(pkg, config) {
let template = handlebars.compile(fs.readFileSync(path.join(source, file), 'utf-8'))
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'))
fs.writeFileSync(path.join(dest, 'public', file), template(replace))
}