Skip to content

Commit

Permalink
#2411 - Fix dropdown icon of tool to show
Browse files Browse the repository at this point in the history
  • Loading branch information
yuleicul committed Apr 14, 2023
1 parent fe4cd78 commit 990541b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@
"stylelint": "13.13.1",
"typescript": "^4.5.2",
"vite": "^4.2.1",
"vite-plugin-fast-react-svg": "^0.4.0",
"vite-plugin-raw": "^1.0.3",
"vite-plugin-svgr": "^2.4.0",
"webpack-bundle-analyzer": "^4.8.0"
},
"browserslist": {
Expand Down
6 changes: 4 additions & 2 deletions example/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import replace from '@rollup/plugin-replace'
import react from '@vitejs/plugin-react'
import { resolve } from 'path'
import { defineConfig, loadEnv } from 'vite'
import { svgPlugin } from 'vite-plugin-fast-react-svg'
import svgr from 'vite-plugin-svgr'
import vitePluginRaw from 'vite-plugin-raw'
import ketcherReactTSConfig from '../packages/ketcher-core/tsconfig.json'
import { valuesToReplace as polymerEditorValues } from '../packages/ketcher-polymer-editor-react/rollup.config'
Expand Down Expand Up @@ -60,7 +60,9 @@ export default defineConfig({
},
plugins: [
react(),
svgPlugin(),
svgr({
exportAsDefault: true
}),
vitePluginRaw({
match: /\.sdf/
}),
Expand Down

0 comments on commit 990541b

Please sign in to comment.