mirror of
https://github.com/System-End/site.git
synced 2026-04-20 00:25:19 +00:00
Use ESM for globby
This commit is contained in:
parent
9351ca33b7
commit
abba0b888d
1 changed files with 1 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
const fs = require('fs')
|
||||
const globby = require('globby')
|
||||
import {globby} from 'globby';
|
||||
|
||||
function addPage(page) {
|
||||
const path = page.replace('pages', '').replace('.js', '').replace('.mdx', '')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue