Skip to content

Commit

Permalink
fix(deps): vite:vite-config extensions .mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
GeekQiaQia committed Jul 20, 2021
1 parent e88a3f6 commit 5f2720a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
34 changes: 17 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"slate-vue": "^0.2.0",
"sortablejs": "^1.13.0",
"tinymce": "^5.8.0",
"vite": "^2.3.7",
"vite": "^2.4.2",
"vite-plugin-style-import": "^1.0.1",
"vue": "^3.1.1",
"vue-clipboard2": "^0.3.1",
Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default defineConfig({
'~': resolve(__dirname, './'),
'@': resolve(__dirname, 'src'),
},
extensions:['.js', '.ts', '.jsx', '.tsx', '.json','.vue'] // 类型: string[] 导入时想要省略的扩展名列表。
extensions:['.js', '.ts', '.jsx', '.tsx', '.json','.vue','.mjs'] // 类型: string[] 导入时想要省略的扩展名列表。
},
clearScreen:false,
server: {
Expand Down

0 comments on commit 5f2720a

Please sign in to comment.