feat: add pro-plugins dir
This commit is contained in:
parent
979fc03a57
commit
4bb6ed4813
@ -26,7 +26,7 @@ export const EsbuildSupportExts = [
|
|||||||
];
|
];
|
||||||
export const ROOT_PATH = path.join(__dirname, '../../../../');
|
export const ROOT_PATH = path.join(__dirname, '../../../../');
|
||||||
export const PACKAGES_PATH = path.join(ROOT_PATH, 'packages');
|
export const PACKAGES_PATH = path.join(ROOT_PATH, 'packages');
|
||||||
export const PLUGINS_DIR = ['plugins', 'samples']
|
export const PLUGINS_DIR = ['plugins', 'samples', 'pro-plugins']
|
||||||
.concat((process.env.PLUGINS_DIRS || '').split(','))
|
.concat((process.env.PLUGINS_DIRS || '').split(','))
|
||||||
.filter(Boolean)
|
.filter(Boolean)
|
||||||
.map((name) => path.join(PACKAGES_PATH, name));
|
.map((name) => path.join(PACKAGES_PATH, name));
|
||||||
|
Loading…
Reference in New Issue
Block a user