Skip to content

Commit 2b2c33a

Browse files
committed
improve comment for dev
1 parent d7b0861 commit 2b2c33a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// import the src directly instead of build output
2-
// useful for local development in this repo
3-
// actual users don't need to do this, they should import from 'vite-pages-theme-doc'
2+
// useful for local development in this repo (and only used for dev)
3+
// this should be used with viteConfig.css.modules.generateScopedName setup: https://github.com/vitejs/vite-plugin-react-pages/blob/a295d2902ef2d69c7808db2be8d182807ead5a3e/packages/playground/use-theme-doc/vite.config.ts#L20
44
export * from 'vite-pages-theme-doc/src/index'
5+
// actual users shouldn't do this, they should import directly from 'vite-pages-theme-doc':
56
// export * from 'vite-pages-theme-doc'

0 commit comments

Comments
 (0)