Skip to content

Broken when used with lerna bootstrap --hoist #65

@andreigec

Description

@andreigec

Lerna bootstrap --hoist moves all shared node_modules deps of packages into the lerna root directory.

react-app-rewired (RAR) is building the create react app (CRA) webpack path from cwd of the project being built, which node_modules folder won't have either CRA or RAR, so it chokes.

Will need to resolve CRA's webpack config from RAR's node modules location.
build.js -
const webpackConfig = paths.scriptVersionDir + '/config/webpack.config.prod';

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions