Skip to content

Commit 21fe248

Browse files
authored
feat: alias classnames to clsx (#77)
1 parent 7a41f1c commit 21fe248

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.changeset/shy-falcons-grin.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@alauda/doom": minor
3+
---
4+
5+
feat: alias `classnames` to `clsx`

src/cli/load-config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,11 @@ const getCommonConfig = async ({
314314
lazyCompilation: lazy,
315315
},
316316
plugins: [pluginReact(), pluginSass(), pluginSvgr(), pluginYaml()],
317+
resolve: {
318+
alias: {
319+
classnames$: 'clsx',
320+
},
321+
},
317322
server: {
318323
open,
319324
},

0 commit comments

Comments
 (0)