Skip to content
Permalink
Browse files

fix(core): copy index.css to a new project

  • Loading branch information
malept committed Jul 13, 2019
1 parent 600de2c commit 12fbbd08d81a7d731567ef72a2dfb056d0754f7a
Showing with 1 addition and 1 deletion.
  1. +1 −1 packages/api/core/src/api/init-scripts/init-starter-files.ts
@@ -22,7 +22,7 @@ export default async (dir: string, { copyCIFiles }: InitStarterFilesOptions) =>
await fs.mkdirs(path.resolve(dir, 'src'));
const rootFiles = ['_gitignore'];
if (copyCIFiles) rootFiles.push(...['_travis.yml', '_appveyor.yml']);
const srcFiles = ['index.js', 'index.html'];
const srcFiles = ['index.css', 'index.js', 'index.html'];

for (const file of rootFiles) {
await copy(path.resolve(tmplPath, file), path.resolve(dir, file.replace(/^_/, '.')));

0 comments on commit 12fbbd0

Please sign in to comment.
You can’t perform that action at this time.