Closed pdme closed 7 years ago
Hi pdme!
The idea is good in theory, but would make cookies.js npm-centric. Any idea for solving this problem?
Do you mean it would throw an error if loaded directly in the browser?
We could solve it by checking if module exists before exporting.
I updated the pull request.
Great, thanks :)
This way, we can import the framework using