browserify / browserify/browserify

`browserField: false` makes browserify ignore the transform option

Open
#1,902 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
14.7k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Hi,

if `browserField: false` (or implicitly `node: true`) is set, then the `browserify.transform` option of dependencies is ignored. In our case there is a

```json
"browserify": {
"transform": [
[
"babelify"
]
]
},
```
in some of our dependencie's `package.json` files, it's used to compile esm and jsx to cjs. I obliviously want to do that transformation when i bundle for node.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.