mirror of
https://github.com/strapi/strapi.git
synced 2025-08-14 03:34:53 +00:00
6 lines
265 B
JavaScript
6 lines
265 B
JavaScript
![]() |
const pluginPkg = require('../../../../package.json');
|
||
|
const pluginId = pluginPkg.name.replace(/^strapi-plugin-/i, '');
|
||
|
const publicPath = `plugins/${pluginId}/`;
|
||
|
|
||
|
__webpack_public_path__ = `${(strapi.remoteURL).replace(window.location.origin, '')}/${publicPath}`;
|