From 46749516805948221334b00866baf2038b7847b9 Mon Sep 17 00:00:00 2001 From: Kyle Mathews Date: Mon, 1 Mar 2021 11:46:40 -0800 Subject: [PATCH] Update migrating-from-v2-to-v3.md (#29898) --- docs/docs/reference/release-notes/migrating-from-v2-to-v3.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/docs/reference/release-notes/migrating-from-v2-to-v3.md b/docs/docs/reference/release-notes/migrating-from-v2-to-v3.md index 655b7e49bd3be..b3f9b5da76a73 100644 --- a/docs/docs/reference/release-notes/migrating-from-v2-to-v3.md +++ b/docs/docs/reference/release-notes/migrating-from-v2-to-v3.md @@ -357,6 +357,8 @@ const Box = ({ children }) => ( export default Box ``` +You can also still import all styles using the `import * as styles` sytax e.g. `import * as styles from './mystyles.module.css'`. + ### File assets (fonts, pdfs, ...) are imported as ESModules Assets are handled as ESM modules. Make sure to switch your require functions into imports.