Skip to content

Commit

Permalink
Merge branch '4.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
djcsdy committed Aug 23, 2024
2 parents 2e0333b + a407f21 commit f0b7b04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/Upgrade-Guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
- Rename `webpack.config.js` to `webpack.config.cjs`
- Change all `import ... from "foo"` to `foo.js` (even if the source file is
`.ts` or `.tsx`).
- Change all `import foo = require("foo")` to `import foo from "foo.js"`
(even if the source file is `.ts` or `.tsx`).
- Change all `import foo = require("foo")` to `import foo from "foo.js"` (even
if the source file is `.ts` or `.tsx`).
- Migrate AVA to ESM if required (see
https://github.com/avajs/ava/blob/main/docs/recipes/typescript.md#for-packages-with-type-module)
- See https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
Expand Down

0 comments on commit f0b7b04

Please sign in to comment.