Use relative path to share dependencies

This commit is contained in:
Aurelsicoko 2017-11-17 16:18:23 +01:00
parent b2603aab4d
commit 622bde4301
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -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.
},