mirror of
https://github.com/strapi/strapi.git
synced 2025-08-31 12:23:05 +00:00
Use relative path to share dependencies
This commit is contained in:
parent
b2603aab4d
commit
622bde4301
File diff suppressed because one or more lines are too long
@ -15,7 +15,7 @@ const isAdmin = process.env.IS_ADMIN === 'true';
|
||||
const appPath = isAdmin ? path.resolve(process.env.PWD, '..') : path.resolve(process.env.PWD, '..', '..');
|
||||
|
||||
module.exports = {
|
||||
context: process.cwd(),
|
||||
context: appPath,
|
||||
entry: {
|
||||
vendor: ['react', 'react-dom', 'react-intl', 'reactstrap', 'react-transition-group', 'immutable', 'lodash'] // Shared dependencies accross the admin and plugins.
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user