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
▲ Next.js 14.0.4 - Environments: .env ✓ (serwist) Compiling for server... ✓ (serwist) Compiling for server... ✓ (serwist) Compiling for client (static)... ○ (serwist) Service worker: C:\<PROJECT_NAME>\public\sw.js ○ (serwist) URL: /sw.js ○ (serwist) Scope: /Failed to compile.Please check your InjectManifest plugin configuration:[WebpackInjectManifest] 'dest' property is not expected to be here. Did you mean property 'swDest'?Cannot read properties of undefined (reading 'source')
Describe the bug
The build phase fails with error:
Please check your InjectManifest plugin configuration:[WebpackInjectManifest] 'dest' property is not expected to be here. Did you mean property 'swDest'?Cannot read properties of undefined (reading 'source')
The error should be related to InjectManifest of @serwist/webpack-plugin.
Expected behavior
Build is completed with no errors
Screenshots (if relevant)
No response
Additional information (if relevant)
No response
The text was updated successfully, but these errors were encountered:
Provide environment information
Which project is this issue for?
@serwist/next
Link to reproduction - Issues with a link to complete (but minimal) reproduction code help us address them faster
NA
To reproduce
yarn init -y
yarn set version berry
yarn add next react react-dom @serwist/next @serwist/sw webpack
pages
foldernext.config.mjs
yarn next build
Describe the bug
The build phase fails with error:
The error should be related to InjectManifest of
@serwist/webpack-plugin
.Expected behavior
Build is completed with no errors
Screenshots (if relevant)
No response
Additional information (if relevant)
No response
The text was updated successfully, but these errors were encountered: