hi everybody,
I'm trying to use the "jqueryPluginCommonjs.js" for the first time and I'm using browserify to create the bundle for the browser.
I wrapped a simple jquery plugin that I made (and tested) before, but I can't figure out why it works only if I specify the "browser" property within the package.json of my app:
hi everybody, I'm trying to use the "jqueryPluginCommonjs.js" for the first time and I'm using browserify to create the bundle for the browser. I wrapped a simple jquery plugin that I made (and tested) before, but I can't figure out why it works only if I specify the "browser" property within the package.json of my app:
If I don't specify the browser field i get the error:
The module is here: https://github.com/Giulico/fValidation And in my app.js file I'm doning something like this
I’m wondering if you might help me to understand what am I wrong. Thank you in advance Giulio