Skip to content

requiring javascript from npm does not work #812

@adamschoenemann

Description

@adamschoenemann

I may be using this incorrectly, but I cannot require the bootstrap javascript using require('bootstrap-sass').

Changing the main key in package.json to point to assets/javascripts/bootstrap.js, instead of the non-existent index.js appears to fix the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions