Skip to content

Commit 67cc47a

Browse files
committed
Apply changesets and update CHANGELOG
1 parent 814ffff commit 67cc47a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ $ yarn add nextjs-darkmode
7676

7777
### Import Styles
7878

79+
> PLease make sure you set `"moduleResolution"` to `"Bundler"`, `"Node16"` or `"NodeNext"` in your tsconfig file for export field in package.json to work properly. (Ref)[https://stackoverflow.com/a/74462490/23175171]
80+
81+
> You may need to import styles from `nextjs-darkmode/dist/index.css` depending on your bundler configuration.
82+
7983
Import styles globally or within layout component.
8084

8185
```css

0 commit comments

Comments
 (0)