Skip to content

Commit

Permalink
feature/2022-11-25-asktug-home: fix import *.svg
Browse files Browse the repository at this point in the history
  • Loading branch information
cw1997 committed Feb 15, 2023
1 parent 136a18e commit d9abb84
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/ui-scripts/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import commonjs from '@rollup/plugin-commonjs'
import json from '@rollup/plugin-json'
import { nodeResolve } from '@rollup/plugin-node-resolve'
import replace from '@rollup/plugin-replace'
import svgr from '@svgr/rollup'
// import svgr from '@svgr/rollup'
import image from '@rollup/plugin-image'
import { antd } from 'buildtool/plugins/rollup/antd'
import LessPluginNpmImport from 'less-plugin-npm-import'
Expand All @@ -26,6 +26,7 @@ export default defineConfig({
format: 'iife'
},
plugins: [
// svgr(),
ts(),
image(),
nodeResolve({
Expand Down

0 comments on commit d9abb84

Please sign in to comment.