chore: add prefix of node core modules (#11440)

This commit is contained in:
neverland
2022-12-31 20:27:35 +08:00
committed by GitHub
parent 65d6a22f03
commit 5bd6997d3c
27 changed files with 43 additions and 43 deletions
@@ -1,7 +1,7 @@
import fse from 'fs-extra';
import babel from '@babel/core';
import esbuild, { type Format } from 'esbuild';
import { sep } from 'path';
import { sep } from 'node:path';
import { isJsx, replaceExt, getVantConfig } from '../common/index.js';
import { replaceCSSImportExt } from '../common/css.js';
import { replaceScriptImportExt } from './get-deps.js';