mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-03 19:07:15 +00:00
Merge pull request #2696 from ArStah/autoimport-jsx
Support autoimport of .jsx files
This commit is contained in:
commit
f0a3791acb
@ -38,7 +38,7 @@ module.exports = function webpackBaseConfig({ name, isServer }) {
|
||||
hints: this.options.dev ? false : 'warning'
|
||||
},
|
||||
resolve: {
|
||||
extensions: ['.js', '.json', '.vue'],
|
||||
extensions: ['.js', '.json', '.vue', '.jsx'],
|
||||
alias: {
|
||||
'~': join(this.options.srcDir),
|
||||
'~~': join(this.options.rootDir),
|
||||
|
Loading…
Reference in New Issue
Block a user