Skip to content

Commit 0462e9b

Browse files
authored
docs(concepts): remove npm from installation way (webpack#5919)
1 parent 63e6785 commit 0462e9b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/content/concepts/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ In order to use a plugin, you need to `require()` it and add it to the `plugins`
132132
**webpack.config.js**
133133

134134
```javascript
135-
const HtmlWebpackPlugin = require('html-webpack-plugin'); //installed via npm
135+
const HtmlWebpackPlugin = require('html-webpack-plugin');
136136
const webpack = require('webpack'); //to access built-in plugins
137137

138138
module.exports = {

src/content/concepts/plugins.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Depending on how you are using webpack, there are multiple ways to use plugins.
5050
**webpack.config.js**
5151

5252
```javascript
53-
const HtmlWebpackPlugin = require('html-webpack-plugin'); //installed via npm
53+
const HtmlWebpackPlugin = require('html-webpack-plugin');
5454
const webpack = require('webpack'); //to access built-in plugins
5555
const path = require('path');
5656

0 commit comments

Comments
 (0)