Skip to content

Commit 69aa6a6

Browse files
authored
chore(template): update the exclude pattern for the uni-ui resolver (#143)
* chore(template): update the exclude pattern for the uni-ui resolver * chore: update once more
1 parent 9642ad7 commit 69aa6a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/template/UI/uni/vite.config.js.data.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default function getData({ oldData, utils }) {
99
.filter(Boolean)
1010

1111
const resolverOptions = excludes.length > 0
12-
? `{ exclude: /${excludes.join('|')}/ }`
12+
? `{ exclude: /^(?:${excludes.join('|')})$/ }`
1313
: ''
1414

1515
const autoImportUniUiPlugin = {

0 commit comments

Comments
 (0)