[create-inula] Simple-app webpack 模板添加jsx等后缀解析

This commit is contained in:
yangxuting 2023-11-02 15:01:11 +08:00
parent bcb8041990
commit 8292aa5443
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'],
},
};