Skip to content

Cannot resolve 'bootstrap' on dev builds #73

@IamTheHttp

Description

@IamTheHttp

Using a basic webpack configuration for building a project, i ran the following:
npm install react-bootstrap-multiselect

inside my entry point I have only one line:
import 'react-bootstrap-multiselect';

When building with webpack, I'm getting the following error:
Module not found: Error: Can't resolve 'bootstrap' in 'node_modules/react-bootstrap-multiselect/dist'

installed version for react-bootstrap-multiselect: 2.4.1

If I follow these exact steps when installing 2.2.0 specifically - everything works fine.
This was found as a regression in an existing project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions