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
@@ -3,8 +3,8 @@
*/
import fse from 'fs-extra';
import { createRequire } from 'module';
import { sep, join, relative } from 'path';
import { createRequire } from 'node:module';
import { sep, join, relative } from 'node:path';
import { getComponents, replaceExt } from '../common/index.js';
import { CSS_LANG, getCssBaseFile } from '../common/css.js';
import { checkStyleExists } from './gen-style-deps-map.js';