Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage with npm and webpack #103

Open
DasElias opened this issue Nov 21, 2020 · 0 comments
Open

Usage with npm and webpack #103

DasElias opened this issue Nov 21, 2020 · 0 comments

Comments

@DasElias
Copy link

I want to use this library with NPM and webpack, but unfortunately, I don't know how to embed it. At the moment, I have the following JS code:

import 'flexibility';
import $ from 'jquery';

$(function() {
  flexibility(document.documentElement);
})

With this approach, I get the following runtime error: Uncaught ReferenceError: flexibility is not defined.

How is flexibility used correctly with NPM?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant