mirror of
https://github.com/bytedance/xgplayer.git
synced 2025-04-05 11:18:46 +08:00
context外部导入更新
This commit is contained in:
parent
702ae498fc
commit
70ed72d66f
@ -2,7 +2,8 @@ const path = require('path')
|
||||
const fs = require('fs-extra')
|
||||
const execa = require('execa')
|
||||
const logger = require('./utils/logger')
|
||||
|
||||
const { Configuration, Project , Workspace } = require('@yarnpkg/core');
|
||||
const { npath } = require('@yarnpkg/fslib');
|
||||
function createContext () {
|
||||
const rootPath = fs.realpathSync(process.cwd())
|
||||
const rootPkgPath = path.resolve(rootPath, 'package.json')
|
||||
|
Loading…
x
Reference in New Issue
Block a user