Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/content/concepts/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ In order to use a plugin, you need to `require()` it and add it to the `plugins`
**webpack.config.js**

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

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion src/content/concepts/plugins.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Depending on how you are using webpack, there are multiple ways to use plugins.
**webpack.config.js**

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

Expand Down