Skip to content

fix(build): Add Turbopack config for Next.js 16 compatibility#27

Merged
simonCatBot merged 2 commits intomasterfrom
feature/github-package-distribution
Apr 5, 2026
Merged

fix(build): Add Turbopack config for Next.js 16 compatibility#27
simonCatBot merged 2 commits intomasterfrom
feature/github-package-distribution

Conversation

@simonCatBot
Copy link
Copy Markdown
Owner

Summary

Fixes the build failure that occurred after merging the GitHub package distribution feature.

Problem

Next.js 16 now uses Turbopack by default. The build was failing with:

Changes

  • next.config.ts: Added empty turbopack: {} configuration to silence the error and maintain compatibility with both Turbopack and Webpack
  • .github/workflows/ci.yml: Removed --webpack flag from the build command

Testing

  • Build now passes with Turbopack
  • Webpack config still works for the webpack-specific parts (osx-temperature-sensor warnings)

Related

Fixes build failure from #26

- Add build-and-release.yml workflow for automated builds
- Update package.json with npm publish metadata
- Add installation instructions to README for:
  - Pre-built packages (Linux/macOS/Windows)
  - npm global install
  - Source install
- Add GitHub release badge
- Add empty turbopack config to silence build error
- Remove --webpack flag from CI workflow
- Fixes build failure after merging feature/github-package-distribution
@simonCatBot simonCatBot merged commit acc3157 into master Apr 5, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants