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
> node dist/index.js
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module '../lib/utils.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (internal/modules/cjs/helpers.js:25:18)
at /Users/luc/w/now/ncc-bug/dist/index.js:110750:12
at Array.map (<anonymous>)
at Object.<anonymous> (/Users/luc/w/now/ncc-bug/dist/index.js:110749:3)
at __webpack_require__ (/Users/luc/w/now/ncc-bug/dist/index.js:22:30)
at Object.<anonymous> (/Users/luc/w/now/ncc-bug/dist/index.js:4958:14)
at __webpack_require__ (/Users/luc/w/now/ncc-bug/dist/index.js:22:30)
The bug seems to be happening when bundling uglify-es, a dependency of browserify-middleware.
The text was updated successfully, but these errors were encountered:
Hi 👋
Bundling codes that requires the dependency
browserify-middleware
fails, some files are not bundled in.Reproduction repo: https://github.com/lucleray/ncc-bug
yarn install
yarn run bundle
node dist/index.js
Error:
The bug seems to be happening when bundling
uglify-es
, a dependency ofbrowserify-middleware
.The text was updated successfully, but these errors were encountered: