mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 00:14:18 +00:00
chore: add prefix of node core modules (#11440)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { join } from 'path';
|
||||
import { join } from 'node:path';
|
||||
|
||||
export const CWD = process.cwd();
|
||||
export const GENERATOR_DIR = join(__dirname, '../generators');
|
||||
|
@@ -3,7 +3,7 @@ import glob from 'fast-glob';
|
||||
import color from 'picocolors';
|
||||
import consola from 'consola';
|
||||
import { prompt } from 'enquirer';
|
||||
import { sep, join } from 'path';
|
||||
import { sep, join } from 'node:path';
|
||||
import { CWD, GENERATOR_DIR } from './constant';
|
||||
|
||||
const PROMPTS = [
|
||||
|
Reference in New Issue
Block a user