Closed 7ammer closed 7 years ago
import Wookmark from 'wookmark'; or simply import 'wookmark/wookmark.js' doesn't work.
import Wookmark from 'wookmark';
import 'wookmark/wookmark.js'
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.
import Wookmark from 'wookmark';
or simplyimport 'wookmark/wookmark.js'
doesn't work.