Skip to content

Commit f42bd1f

Browse files
authored
chore(infra): svgr config modification (#1832)
1 parent 0156a90 commit f42bd1f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/theme-default/rslib.config.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,10 @@ export default defineConfig({
7676
format: 'esm',
7777
syntax: 'es2020',
7878
bundle: false,
79-
plugins: [pluginReact(), pluginSvgr({ query: /.*/ })],
79+
plugins: [
80+
pluginReact(),
81+
pluginSvgr({ svgrOptions: { exportType: 'default' } }),
82+
],
8083
source: {
8184
entry: {
8285
assets: ['src/assets'],

0 commit comments

Comments
 (0)