diff --git a/fr/faq/extend-webpack.md b/fr/faq/extend-webpack.md new file mode 100644 index 000000000..d18b97b94 --- /dev/null +++ b/fr/faq/extend-webpack.md @@ -0,0 +1,18 @@ +--- +title: Étendre Webpack +description: Comment étendre la configuration de webpack? +--- + +# Comment étendre la configuration de webpack? + +Vous pouvez étendre la configuration de webpack via l'option `extend` de votre fichier `nuxt.config.js`: + +```js +module.exports = { + build: { + extend (config, { isDev, isClient }) { + // ... + } + } +} +```