diff --git a/packages/loadable-components/README.md b/packages/loadable-components/README.md index 036a31bf1..ccb292ba5 100644 --- a/packages/loadable-components/README.md +++ b/packages/loadable-components/README.md @@ -1,17 +1,11 @@ # loadable-components ## Config -If you use the .swcrc : -```json -["@swc/plugin-loadable-components", {}] -``` -If you use the json config: ```json ["loadable-components", {}] ``` - # @swc/plugin-loadable-components ## 1.0.5 diff --git a/packages/loadable-components/README.md.tmpl b/packages/loadable-components/README.md.tmpl index fa2e974e7..701c16f7b 100644 --- a/packages/loadable-components/README.md.tmpl +++ b/packages/loadable-components/README.md.tmpl @@ -2,6 +2,12 @@ ## Config +If you use the `.swcrc` : +```json +["@swc/plugin-loadable-components", {}] +``` + +If you use the js config: ```json ["loadable-components", {}] ```