Skip to content

Commit

Permalink
feat(react): add generateExportsField option to @nrwl/web:rollup ex…
Browse files Browse the repository at this point in the history
…ecutor so it is an opt-in feature (#10742)

- Also adds skipTypeField option in case that is causing issues for users
- Fixes #10741
  • Loading branch information
jaysoo committed Jun 15, 2022
1 parent 09baf95 commit d58eedc
Show file tree
Hide file tree
Showing 5 changed files with 281 additions and 115 deletions.
10 changes: 10 additions & 0 deletions docs/generated/packages/web.json
Expand Up @@ -757,6 +757,16 @@
"type": "boolean",
"description": "Sets `javascriptEnabled` option for less loader",
"default": false
},
"generateExportsField": {
"type": "boolean",
"description": "Generate package.json with 'exports' field. This field defines entry points in the package and is used by Node and the TypeScript compiler.",
"default": false
},
"skipTypeField": {
"type": "boolean",
"description": "Prevents 'type' field from being added to compiled package.json file. Only use this if you are having an issue with this field.",
"default": false
}
},
"required": ["tsConfig", "project", "entryFile", "outputPath"],
Expand Down

1 comment on commit d58eedc

@vercel
Copy link

@vercel vercel bot commented on d58eedc Jun 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-git-master-nrwl.vercel.app
nx-five.vercel.app
nx-dev-nrwl.vercel.app
nx.dev

Please sign in to comment.