jsonpath icon indicating copy to clipboard operation
jsonpath copied to clipboard

fix import typescript

Open ramonornela opened this issue 9 years ago • 1 comments

Use @types/jsonpath problem with import jp from 'jsonpath'; with rollup

[22:58:46]  rollup: Treating 'fs' as external dependency 
[22:58:47]  rollup: Treating 'module' as external dependency 
[22:58:51]  rollup: No name was provided for external module 'fs' in options.globals – guessing 'require$$1' 
[22:58:51]  rollup: No name was provided for external module 'module' in options.globals – guessing 'module$1' 

ramonornela avatar Nov 30 '16 02:11 ramonornela

I don't think this solution is an option, since it would direct Node.js environments to load the browser-oriented version of the library built by browserify.

dchester avatar Nov 30 '16 14:11 dchester