jsonpath
jsonpath copied to clipboard
fix import typescript
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'
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.