mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 16:12:12 +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'
|
hints: this.options.dev ? false : 'warning'
|
||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
extensions: ['.js', '.json', '.vue'],
|
extensions: ['.js', '.json', '.vue', '.jsx'],
|
||||||
alias: {
|
alias: {
|
||||||
'~': join(this.options.srcDir),
|
'~': join(this.options.srcDir),
|
||||||
'~~': join(this.options.rootDir),
|
'~~': join(this.options.rootDir),
|
||||||
|
Loading…
Reference in New Issue
Block a user