mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
show extend option in example
This commit is contained in:
parent
b2cba244b1
commit
3f9aa0f345
@ -16,6 +16,11 @@ module.exports = {
|
|||||||
name: 'img/[name].[ext]?[hash]'
|
name: 'img/[name].[ext]?[hash]'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
extend (config, { dev }) {
|
||||||
|
if (dev) {
|
||||||
|
config.devtool = (dev ? 'eval-source-map' : false)
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user