很簡單,直接在vite.config.ts裏面添加配置即可:
export default ({ mode }) => defineConfig({ build: { minify: "terser", terserOptions: { compress: { //生產環境時移除console drop_console: true, drop_debugger: true, }, } } })
此處我只給了build的配置,其他的配置需要自己去添加
很簡單,直接在vite.config.ts裏面添加配置即可:
export default ({ mode }) => defineConfig({ build: { minify: "terser", terserOptions: { compress: { //生產環境時移除console drop_console: true, drop_debugger: true, }, } } })
此處我只給了build的配置,其他的配置需要自己去添加
https://github.com/zhangbo2008/Trie_with_informationExtraction_and_fuzzy_matchingv2