mirror of
https://github.com/strapi/strapi.git
synced 2025-11-03 19:36:20 +00:00
Add comment for get plugin path
This commit is contained in:
parent
da3c2b2246
commit
986e87e2e9
@ -4,6 +4,7 @@ const { join, resolve } = require('path');
|
|||||||
const fs = require('fs-extra');
|
const fs = require('fs-extra');
|
||||||
const glob = require('glob');
|
const glob = require('glob');
|
||||||
|
|
||||||
|
// Only for dev environement
|
||||||
const getPluginsPath = () => {
|
const getPluginsPath = () => {
|
||||||
const rootPath = resolve(__dirname, '..', join('..', '..', '..', 'packages'));
|
const rootPath = resolve(__dirname, '..', join('..', '..', '..', 'packages'));
|
||||||
const corePath = join(rootPath, 'core', '*');
|
const corePath = join(rootPath, 'core', '*');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user