germanysbestkeptsecret / Wookmark-jQuery

A jQuery plugin to create a dynamic, multi-column layout.
MIT License
2.64k stars 759 forks source link

How to use wookmark with es6 imports? #222

Closed 7ammer closed 7 years ago

7ammer commented 8 years ago

import Wookmark from 'wookmark'; or simply import 'wookmark/wookmark.js' doesn't work.

teawithfruit commented 8 years ago

You have to add the following line in yout package.json. Then the import should work.

"main": "wookmark.min.js",

...should be also now in the repo.