设置中文显示和NPM源在代码中修改

This commit is contained in:
xdragon 2024-09-05 10:23:44 +08:00
parent 8463ce5ec0
commit 5362f9eed5
4 changed files with 34 additions and 2 deletions

View file

@ -18,6 +18,7 @@ export class LinkInstaller {
constructor() {
this.livePluginManager = new PluginManager({
npmRegistryUrl: 'https://registry.npmmirror.com/',
pluginsPath: pluginInstallPath,
hostRequire: undefined,
cwd: path.join(settings.root, 'src')