Closed zhixiaoqiang closed 3 years ago
Generally do not have the habit of writing .jsx, more is to write .js
config .module .rule('inspector') .enforce('pre') - .test(/\.[jt]sx$/) + .test(/\.(tsx|jsx?)$/)
No, that's on purpose. JSX shouldn't supposed in .js file
Generally do not have the habit of writing .jsx, more is to write .js