Skip to content

Commit 3444180

Browse files
committed
docs: remove some notes that are no longer necessary
1 parent ee0e981 commit 3444180

1 file changed

Lines changed: 1 addition & 20 deletions

File tree

website/src/latest/docs/features/nativewind.mdx

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -37,22 +37,6 @@ These additional dependencies (`postcss`, `postcss-loader`, and `autoprefixer`)
3737

3838
## Usage
3939

40-
:::info{title="Webpack specific configuration"}
41-
If you are using Webpack (not Rspack), you need to add the following configuration to your `babel.config.js`:
42-
43-
```js title="babel.config.js"
44-
plugins: [
45-
[
46-
'@babel/plugin-transform-react-jsx',
47-
{
48-
runtime: 'automatic',
49-
importSource: 'nativewind',
50-
},
51-
],
52-
],
53-
```
54-
:::
55-
5640
### Plugin
5741

5842
To add the plugin to your Re.Pack configuration, update your `rspack.config.js` or `webpack.config.js` as follows:
@@ -77,10 +61,7 @@ export default (env) => {
7761
- **Styles not applying?**
7862

7963
Ensure your CSS import is present and the plugin is added to your config.
80-
81-
- **PostCSS errors?**
82-
83-
Double-check that all required dependencies are installed and your `postcss.config.js` is set up.
64+
Make sure you have the `nativewind/babel` preset applied in your babel config.
8465

8566
- **TypeScript issues?**
8667

0 commit comments

Comments
 (0)