mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 10:55:37 +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 glob = require('glob');
|
||||
|
||||
// Only for dev environement
|
||||
const getPluginsPath = () => {
|
||||
const rootPath = resolve(__dirname, '..', join('..', '..', '..', 'packages'));
|
||||
const corePath = join(rootPath, 'core', '*');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user