mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Update script.js
This commit is contained in:
@@ -2,6 +2,8 @@ import fs from 'fs'
|
||||
import puppeteer from 'puppeteer'
|
||||
import schema from './schema.js'
|
||||
|
||||
fs.rmSync('images', { recursive: true, force: true })
|
||||
|
||||
for (const [file, options] of Object.entries(schema)) {
|
||||
const directory = file.substring(0, file.lastIndexOf('/'))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user