Skip to content

Commit

Permalink
Version Packages (#450)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] committed Mar 29, 2022
1 parent 0104e83 commit 4b4db17
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 0 additions & 5 deletions .changeset/little-boats-rest.md

This file was deleted.

6 changes: 6 additions & 0 deletions packages/next/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @preconstruct/next

## 4.0.0

### Major Changes

- [`8b740fe`](https://github.com/preconstruct/preconstruct/commit/8b740fe81e55a3ca0395b36b55a949544147c2cc) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - `@preconstruct/next` now makes Next.js prefer the `module` field over the `main` for server-side bundles. This is different to the behaviour that Next.js provides by default, for that reason, this change is happening in a major release of `@preconstruct/next`. The `module` field is generally regarded by most package authors and tools like Preconstruct to only indicate module format and not Node vs browser. This resolves issues with using `preconstruct dev` with packages that have dependencies that ship Node ESM(in addition to CommonJS).

## 3.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/next/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@preconstruct/next",
"version": "3.0.1",
"version": "4.0.0",
"description": "A Next.js plugin to work with preconstruct repos",
"files": [
"index.js",
Expand Down

0 comments on commit 4b4db17

Please sign in to comment.