mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-06 21:10:38 +00:00
Support autoimport of '.jsx' files
This commit is contained in:
parent
f0bd9a573b
commit
9981df71fc
@ -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