!74 [create-inula] Simple-app webpack 配置添加解析的文件类型

Merge pull request !74 from 杨煦庭/master
This commit is contained in:
openInula-robot 2023-11-03 01:25:12 +00:00 committed by Gitee
commit 74eefe8cc0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 3 additions and 0 deletions

View File

@ -78,4 +78,7 @@ module.exports = {
port: 9000,
open: true,
},
resolve: {
extensions: ['.mjs', '.js', '.mts', '.ts', '.jsx', '.tsx', '.json'],
},
};