mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Copy assets to dist in docs
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user