You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 19, 2018. It is now read-only.
I use Browserify with Gulp and the resolve plugin to concatenate all NPMs into one single JS file.
I need to add the attribute:
"main": "dist/js/angular-bootstrap-calendar-tpls.js"
in 'package.json' for resolve to pick up an entry point in that module.
Can you please add this to your setup?
Thank you.
The text was updated successfully, but these errors were encountered:
It's this module : https://github.com/substack/node-resolve which is apparently not compliant with the 'browser' field.
Browserify works fine with 'browser' but my set up is a bit uncommon: in my gulp tasks, I first need to resolve which files are later needed by browserify, and then concatenate them into a single file. For this purpose I use this 'resolve' plugin. And this plugin was apparently not designed with browserify in mind.
Ah I've come across issues with that module before, I'll fix this when I have some free time, in the meantime you should be able to require('angular-bootstrap-calendar/dist/js/angular-bootstrap-calendar-tpls') to work around this for now.
I use Browserify with Gulp and the resolve plugin to concatenate all NPMs into one single JS file.
I need to add the attribute:
"main": "dist/js/angular-bootstrap-calendar-tpls.js"
in 'package.json' for resolve to pick up an entry point in that module.
Can you please add this to your setup?
Thank you.
The text was updated successfully, but these errors were encountered: