Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

Commit 82b4c4f

Browse files
committed
Translate faq/webpack-plugins
1 parent 283e98a commit 82b4c4f

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

Diff for: fr/faq/webpack-plugins.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: Plugins webpack
3+
description: Comment ajouter des plugins webpack?
4+
---
5+
6+
# Comment ajouter des plugins webpack?
7+
8+
Dans `nuxt.config.js`:
9+
10+
```js
11+
const webpack = require('webpack')
12+
13+
module.exports = {
14+
build: {
15+
plugins: [
16+
new webpack.ProvidePlugin({
17+
'$': 'jquery',
18+
'_': 'lodash'
19+
// ...etc.
20+
})
21+
]
22+
}
23+
}
24+
```

0 commit comments

Comments
 (0)