Thomas Riffard

Results 5 comments of Thomas Riffard

I was also surprised by this behavior. (fixed by adding --publish=never)

``` ✘ [ERROR] Could not resolve "url" node_modules/jsonschema/lib/scan.js:3:21: 3 │ var urilib = require('url'); ``` Hello, esbuild fails to bundle with the 'browser' target because part of the code tries...

I believe you can now do `const myUrl = new URL("http://example.org")` in either browser or Node.js, without having to require the 'url' module. Not sure if this can help in...

At first glance it doesn't make sense because url is a native module. But based on this package https://www.npmjs.com/package/url It seems that browserify doesn't actually bundle node.js native package, but...

Hello, I have encountered this issue multiple times, sometimes it also truncates the current source file I am working on and I lose all my work.