razzle
-
v3.3.0
Published by fivethreeo about 4 years ago
This is meant to prepare you for Razzle 4.0.
If you enable all the experimental features added you are better prepared for Razzle 4.0 where these features are defaults.
// razzle.config.js
'use strict';
module.exports = {
experimental: {
newBabel: true,
newExternals: true,
newSplitChunks: true,
newContentHash: true,
newMainFields: true,
}
};
To try it now:
npx create-razzle-app --example with-all-experimental testing --ignore-existing
cd testing
yarn start
yarn build
yarn start:prod
yarn export
yarn start:static
yarn test
See the docs
Minor Changes
- Feat(less-plugin): add razzle plugin less: #1150
- Feat(razzle): add support for postcss.config.js: #1266
- Fix:(razzle/scss/less): remove minimize option/add automatic css modules: #1285
- Feat:(razzle) add experimental support for react-refresh: 8a5502230dab7966ee6ebe5bf16d2a279d7c2a38
- Fix: update default app template: 4c0436c5ecfecfa7e27d67fd60205c74f669195c
- Feat:(less/scss) support postcss.config js and modules in less and scss plugin: fd89ec5ed96cabe3214e16df3441b02a49e5a404
- Feat:(examples) add with-single-exposed-port example, remove code that should not be committed: 32bed7bf5e0e15dc7215bd4f6f82991603c229d6
- Feat:(typescript) add support for typescript to razzle core, deprecate typescript plugin: d1ecb735ce507d31e026db94d2d7800139aabe60
- Feat(razzle): make configuration promise based: 2b85e57b2b7c578785c990f91daaa99d5f663b7e
- Feat(create-razzle-app) :add support for npm/github/git/file example templates: 462324e47a5b0eda20a2192ff988e8bf8dfea05a
- Fix(example): fix windows paths: 404dabd77c36253322c91d4e3698c0ec95c07092
- Feat(razzle): support paths in jsconfig and tsconfig: 36efaf420d5fa2aa20fe0770e072a67db1dafc10
- Feat: allow dev port config: ceb545ff9c2487e6cea2350a68633e36edbb3fa3
- Chore(sass): update sass dependencies: 2df508f857d01b07329571ad5bc6cb596d699091
- Fix(scss/less): add mini-css-extract-plugin to peerDependencies to fix npm install: 00ba22cf6aa29ab49940f2ae9fb708a0704e199c
- Feat(razzle): save chunk id to chunks.json: #1352
- Fix(css): add back localIdentName to css modules: 4839b7d05ee7089e4e4c6461812c252bcdd58482
- Fix: deprecate createConfig so plugin tests have time to update before next major release: 5ab5a975cf4059b10ba427991626fcf069fd5c8f
- Fix(css): add one more missed localIdentName: 95abe94ce067d14d776c3460d9f923c857d137b8
- Fix(razzle/babel): use cacheIdentifier so babel cache does not mix up builds: 1d2390ee97e21b827e402d1ea7d58ad47ae7a797
- Fix(razzle): manifest chunk name fallback to entry.id: 0b05a7a0ded2eba40ef9dc00b59a4fcf5623a010
- Fix(razzle): manifest chunk name fallback to entry.id: 0c041725129a7c8bd874b90f18e240d8aff777e6
- Feat(razzle): add new externals resolution as a experimental feature: e169b1eea64851fc475f8f0c97047dfa7b376497
- Feat(razzle): add new babel configuration: 6d91a4ec2d9b5a9e5f01e22a4fce21ab1a0adcce
- Feat(razzle): add razzle export to export static site: 1336cd20fb9e5e63af26f3b6879c4d5abb6ced23
- Feat(razzle): test jest version in config validatio, fix issue with async: 2598131222545be12628b34230c11bff433e14a5
- Fix(razzle): add a missing dependency and require: 894725f4c165805f6d7e8193101a1947789a98d0
- Fix(razzle): add a missing dependency and require: 4c0f0b005f86c82c444cf9abeba0865ffbd1bc1e
- Fix(create-razzle-app): respect branch in install: 22e00e95d05e48b6ea0b08b09ed50fed080d1646
- Fix(create-razzle-app): respect branch in install: 1d92913341fbaf37062b2a1bdf1f0babbc916f7e
- Fix(razzle): make new babel config work properly: a6ad3aec82ec7dd178057a95ff3c72ae07f32bb2
- Fix(create-razzle-app): reverse the logic for razzle version tag: b39ad49b7b39834e23d3745323399c4c4cd364c2
- Fix(create-razzle-app): get examples list from correct branch: 1bfc0fb282be46392d265264fb9dc86484ed16bc
- Feat: add new plugin system with more hooks: b28a88ec5677bfa2bacde166b316646e4fc149ee
- Feat: add experimetal support for new splitChunks config, add all-experimetal example: b9d7626d7f3deecc63456c0f408e413cfc30cc9b
- Fix: use camelcase for all options: 010b8b7df8c335e2413e05e25d44b122e3cf5361
- Feat: use contenthash instead of chunkhash and hash: 45140ebd7161df507212656809917578d115cba7
- Fix: disable react-refresh in prod: e651211ffb2f58e2c34db51c7c37fdaa652552db
- Feat: add mainFields configuration, make contethash toggleable: f52130042f5175484c7324ea12d55d316b3d3567
- Fix(razle-dev-utils): add missing webpack-dev-server dependency: d38b492ab1a2b87689db07fbfa82f8ad5f071ad0
- Fix: bundle babel runtime: 1ac9f13c912c333b4a80cadddbe7f2485e7933ab
- Feat(razzle): add Yarn PnP support: 98377c4d08fd611f0daccc94d8c4c32f00e2cb33
- Fix: get some default options from package.json: 8831cbd68021f83717cbf5a546ac6920cc38ed55
- Fix: respect browserslist: fb4362298583e96044451d945090577a9ffcdeb9
- Fix(razzle): make
paths.appPublic
optional: d4cbbec9cd1934046a71e25cf9b8e65c1db31219
- Fix(example): load all client assets: 3b955fdd161f8df20f9a2b51bd13f2eca5b984db
- Fix(razzle): use copy-webpack-plugin to copy from public dir: c5f4bc3f7ed41caf2fd4fcc307d1ba40ab6e52de
- Fix(razzle): use paths: b83e9a2b2b67e8de7719d775ce6c40f7a3b21429
- Fix(razzle): use correct options for older plugin: f45ccd28667d57dc38d7307e0749bf5218f934bc
- Fix(create-razzle-app): fixed a merge conflict: b6c00fb9bc9445098568392a28166be88b403b0f
- Fix: fix inter-package dependenciees: bd2702cd98612e2243f08bbfe472e8ad236b3be2
- Fix: upgrade all the package deps: dea55019a18e0c1f14e6ca79755a49a5cbfe5292
- Fix(razzle-dev-utils): setPorts did not set port in async: 878520a71bf693a2bf4b1393c8e2b1058a5136d4
- Fix: razzle allow toggling warnings as errors: bb07b9ecd20a3c586f6630c7dd31d3aad6fa0716
- Fix(razzle): use paths.appPath with libIdent: d19436bbe3b54e31b5fc2a143cac0d69363acd6d
- Fix(create-razzle-app): use correct dep: dc68d1a983dae962a20ef1b84055606b115ba47a
- Fix: test more extensions for static export.: 6636354a404c3ea7ce205326d0e555d9dc38e3dd
- Fix: change paralell to parallel and document the option: d7f5fa8e22aff6a5f40e9f8a8459af1f13bc1a1e
- Fix(razzle): use let so config can be redefined: 4f840f2e04f53a86c073f00ef144111e4f17fad1
- Fix(razzle): fix asyncPool: c0c93798e0928bd6e038cd369f13b6279e6de83d
- Example: add static export to loadable example: 41253357f34709462b9cf63b3a646553a4cf5174
- Example: use await: 5ab609e21387c2b753289da37c410cd7457d45f9
- Fix(razzle): fix issues with path separator in export: 2646297f1cedb59e5313e8d35c308781cc7e477c
- Fix(razzle): merge razzle options correctly: 67c9790f06b21357c511072c382d7b5c8b5bc1c7
- Create FUNDING.yml: dc815ec5bfe6c6f6444c415c915afe15e406cd6e
- Update FUNDING.yml: eed294e2993d2fc1052e18fc01a94b2531e3ae2f
Patches
- Build: add new tools for documentation, update some docs: 31a1a3a6b6de4b86a095eb25bb1c65ce1c6959a2
- Fix(css): make sure only one mini-css-extract-plugin is present: 6975f508f3977bfb7e5a2fa3c57b2f6d035626d3
- Fix(razzle): fix isse with DEV_PORT env var and client only razzle start: 5530ab171c59aa882a3e9d39f0bbab0d915f310c
Credits
Huge thanks to @wickedev, @piecyk, and @nimaa77 for helping!