Skip to content

Commit

Permalink
Custom Templated Path Webpack Plugin: Deprecate for webpack 5
Browse files Browse the repository at this point in the history
  • Loading branch information
gziolo committed Mar 6, 2023
1 parent 5c70e51 commit 2d04345
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/custom-templated-path-webpack-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Deprecations

- This plugin is deprecated for webpack 5. Please use [`output.filename`](https://webpack.js.org/configuration/output/#outputfilename) instead.

## 2.12.0 (2023-03-01)

## 2.11.0 (2023-02-15)
Expand Down
4 changes: 3 additions & 1 deletion packages/custom-templated-path-webpack-plugin/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Custom Templated Path Webpack Plugin

> **DEPRECATED for webpack v5**: please use [`output.filename`](https://webpack.js.org/configuration/output/#outputfilename) instead.
Webpack plugin for creating custom path template tags. Extend the [default set of template tags](https://webpack.js.org/configuration/output/#output-filename) with your own custom behavior. Hooks into Webpack's compilation process to allow you to replace tags with a substitute value.

## Installation
Expand All @@ -10,7 +12,7 @@ Install the module
npm install @wordpress/custom-templated-path-webpack-plugin --save-dev
```

**Note**: This package requires Node.js 12.0.0 or later. It targets Webpack 4.0 and newer. It is not compatible with older versions.
**Note**: This package requires Node.js 12.0.0 or later. It is not compatible with older versions. It works only with webpack v4.

## Usage

Expand Down

0 comments on commit 2d04345

Please sign in to comment.