razzle 4.0 应该做什么。 我在金丝雀分支中添加了许多新的好东西。
我目前觉得可以为 4.0 准备的功能是:
立即尝试:
npx create-razzle-app<strong i="23">@canary</strong> testing --ignore-existing
cd testing
yarn add [email protected] --dev
yarn start
yarn build
yarn start:prod
yarn test
https://github.com/jaredpalmer/razzle/releases/tag/v4.0.0-canary.0
https://github.com/jaredpalmer/razzle/releases/tag/v4.0.0-canary.1
https://github.com/jaredpalmer/razzle/releases/tag/v4.0.0-canary.2
注意:期待错误;)
这要多久才能准备好? 会有升级指南吗?
迫不及待想试试这个🎉
所以,razzle 4.0 真的很近了。 我保证 :) 如果 anoyne 使用金丝雀,请尝试最新的,以便我们找到任何明显的问题。
计划是本周,但有一些出版问题。 下周星期一试试。 同时尝试 canary 50 以确保它没问题。
发现 html-webpack-plugin 存在问题。 需要在任何 4.0.1 版本之前查看。 使用 peerDeps 可能很容易解决。 如果是这样的话,可能仍会在周一发布。
如果有人使用金丝雀,您可以尝试最新的 '4.0.1-canary.6' 吗?
想我用 html-webpack-plugin 解决了这个问题。
见https://razzle-git-canary-jared.vercel.app/getting-started#dependencies
只需将 @4.0.1-canary.6 添加到您安装的任何核心 razzle 包中。
或者看看这是否适合你
npx create-razzle-app<strong i="11">@canary</strong> --verbose --example with-typeorm-graphql with-typeorm-graphql
如果这对您没有任何问题,我将发布 4.0.1。 只需要确认它对您有用,而不仅仅是对我有用:)
发布 4.0.1-canary.15 。 添加了安装/构建/启动示例的测试,将在周一重试发布。
Razzle 4.0.1 发布!! 结束
最有用的评论
Razzle 4.0.1 发布!! 结束