diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 0e07642..7f975f1 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -15,3 +15,4 @@ jobs: uses: yoriiis/actions/.github/workflows/lint.yml@main with: stylelint-status: false + eslint-config: 'config/.eslintrc.cjs' diff --git a/README.md b/README.md index 8eeef65..a2a93a8 100644 --- a/README.md +++ b/README.md @@ -48,9 +48,9 @@ First, let's add the plugin to the webpack configuration. **webpack.config.js** ```js -const ChunksWebpackPlugin = require('chunks-webpack-plugin'); +import ChunksWebpackPlugin from 'chunks-webpack-plugin'; -module.exports = { +export default { plugins: [new ChunksWebpackPlugin()] }; ``` @@ -114,7 +114,7 @@ Default: Tells the plugin whether to personalize the default template for the HTML `