You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 4, 2025. It is now read-only.
2. Import and add the plugin to your Webpack configuration:
30
30
31
+
```js
32
+
plugins: [
33
+
newWebpackReactComponentNamePlugin({
34
+
parseDependencies:true,
35
+
})
36
+
],
31
37
```
32
-
plugins: [
33
-
new WebpackReactComponentNamePlugin()
34
-
],
35
-
```
38
+
39
+
Next.js users have to add this within `next.config.js`/`next.config.mjs`/`next.config.ts`. Examples available [here](https://github.com/mockingjay-io/webpack-react-component-name/tree/main/examples).
0 commit comments