diff --git a/docs/Upgrade-Guide.md b/docs/Upgrade-Guide.md index 8e4e4734..5762e636 100644 --- a/docs/Upgrade-Guide.md +++ b/docs/Upgrade-Guide.md @@ -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