Copy assets to dist in docs

This commit is contained in:
rijkvanzanten
2020-11-12 11:42:32 -05:00
parent f0d2b61039
commit 87700a0006

View File

@@ -22,6 +22,7 @@ async function build() {
await fse.writeJSON('./dist/index.json', tree);
await copyfiles(['./**/*.md', distPath], { exclude: './node_modules/**/*.*' });
await copyfiles(['./assets/**/*.*', distPath], { exclude: './node_modules/**/*.*' });
const yamlFiles = [];
const filesInRoot = await fse.readdir(__dirname);