This release requires a code modification for projects created at v0.37.2
Patch release with critical fix for webpack-cli bug:
- Router: Respect trailingSlashes when generating routes
#3519 by @Tobbe - Resolve @webpack-cli/serve explicitly #3524 by @jtoar
- Prepare webpack packages and yarn.lock for patch #3525 by @thedavidprice
Code Modification
Projects that started with v0.37.2 (or projects experiencing a Webpack error when running yarn rw dev
) should add the following resolution to their root ./package.json
:
Note: once webpack/webpack-cli#2990 is resolved, the resolution can be removed
// ./package.json
{
"private": true,
"workspaces": {
"packages": [
"api",
"web",
"packages/*"
]
},
"devDependencies": {
"@redwoodjs/core": "0.37.3"
},
"eslintConfig": {
"extends": "@redwoodjs/eslint-config",
"root": true
},
"engines": {
"node": "14.x",
"yarn": "1.x"
},
+ "resolutions": {
+ "@webpack-cli/serve": "1.5.2"
+ }
}