[create-inula] Simple-app webpack 模板添加jsx等后缀解析
This commit is contained in:
parent
bcb8041990
commit
8292aa5443
|
@ -78,4 +78,7 @@ module.exports = {
|
||||||
port: 9000,
|
port: 9000,
|
||||||
open: true,
|
open: true,
|
||||||
},
|
},
|
||||||
|
resolve: {
|
||||||
|
extensions: ['.mjs', '.js', '.mts', '.ts', '.jsx', '.tsx', '.json'],
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue