1
0
Fork 0

fix: also include layout.css in example config

This commit is contained in:
Joost De Cock 2021-04-17 13:02:16 +02:00
parent c489fd46c6
commit c333b53be2

View file

@ -414,7 +414,7 @@ function configurePatternExample(pkg, config) {
// Copy files
for (let file of ['.babelrc', '.env'])
fs.copyFileSync(path.join(source, file), path.join(dest, file))
for (let file of ['index.js', 'serviceWorker.js'])
for (let file of ['index.js', 'serviceWorker.js', 'layout.css'])
fs.copyFileSync(path.join(source, 'src', file), path.join(dest, 'src', file))
fs.copyFileSync(
path.join(source, 'public', 'favicon.ico'),