Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: webpack-contrib/copy-webpack-plugin
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 71676457b5257ada0440aca4aea70ba1fceeaac0
Choose a base ref
...
head repository: webpack-contrib/copy-webpack-plugin
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 797a006521521603d5cdf34b1041a59ade07dd25
Choose a head ref

Commits on Dec 7, 2020

  1. Copy the full SHA
    9bc5416 View commit details
  2. Copy the full SHA
    db53937 View commit details
  3. Copy the full SHA
    6c11e21 View commit details

Commits on Dec 9, 2020

  1. refactor: next

    BREAKING CHANGE: yes
    cap-Bernardito authored Dec 9, 2020
    Copy the full SHA
    4cea28b View commit details

Commits on Dec 10, 2020

  1. refactor: code

    cap-Bernardito authored Dec 10, 2020
    Copy the full SHA
    c6f68a5 View commit details
  2. Copy the full SHA
    5d5635f View commit details
  3. chore(release): 7.0.0

    alexander-akait committed Dec 10, 2020
    Copy the full SHA
    46af20a View commit details

Commits on Jan 25, 2021

  1. docs: remove $ from readme (#578)

    For easy copying of the plugin installation command
    feisk authored Jan 25, 2021
    Copy the full SHA
    ed7069b View commit details

Commits on Feb 27, 2021

  1. Copy the full SHA
    f5e661b View commit details

Commits on Mar 1, 2021

  1. Copy the full SHA
    8d5ab9a View commit details

Commits on Mar 3, 2021

  1. refactor: template strings in to option (#589)

    BREAKING CHANGE: placeholders for the `to` option were changed
    cap-Bernardito authored Mar 3, 2021
    Copy the full SHA
    f2c1bc8 View commit details
  2. Copy the full SHA
    a9b06a6 View commit details

Commits on Mar 4, 2021

  1. Copy the full SHA
    ea610bc View commit details
  2. Copy the full SHA
    d68a8eb View commit details
  3. Copy the full SHA
    9e12a33 View commit details
  4. Copy the full SHA
    83601dc View commit details
  5. Copy the full SHA
    1787d2d View commit details

Commits on Mar 9, 2021

  1. docs: fix typo

    nonusx authored Mar 9, 2021
    Copy the full SHA
    01fa91b View commit details

Commits on Mar 13, 2021

  1. Copy the full SHA
    4ca7f80 View commit details

Commits on Mar 22, 2021

  1. 2
    Copy the full SHA
    dde71f0 View commit details
  2. docs: update (#597)

    cap-Bernardito authored Mar 22, 2021
    Copy the full SHA
    a8ace71 View commit details
  3. Copy the full SHA
    82b10e3 View commit details
  4. chore(release): 8.1.0

    alexander-akait committed Mar 22, 2021
    Copy the full SHA
    a571f07 View commit details

Commits on Apr 6, 2021

  1. Copy the full SHA
    d8fa32a View commit details
  2. Copy the full SHA
    8857968 View commit details

Commits on Apr 22, 2021

  1. Copy the full SHA
    3a1139e View commit details

Commits on May 21, 2021

  1. refactor: nodejs v10 dropped (#606)

    BREAKING CHANGE: minimum supported `Node.js` version is `12.13.0`
    cap-Bernardito authored May 21, 2021
    Copy the full SHA
    beff64e View commit details
  2. chore(release): 9.0.0

    alexander-akait committed May 21, 2021
    Copy the full SHA
    d041d85 View commit details

Commits on Jun 10, 2021

  1. chore: fix typo (#609)

    snitin315 authored Jun 10, 2021
    Copy the full SHA
    2abdddf View commit details
  2. Copy the full SHA
    966d723 View commit details

Commits on Jun 25, 2021

  1. Copy the full SHA
    f233c55 View commit details
  2. Copy the full SHA
    797a006 View commit details
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
You arrived at this template because you felt none of the other options
matched the kind of issue you'd like to report. Please use this opportunity to
tell us about your particular type of issue so we can try to accomodate
tell us about your particular type of issue so we can try to accommodate
similar issues in the future.
PLEASE do note, if you're using this to report an issue already covered by the
8 changes: 4 additions & 4 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -29,10 +29,10 @@ jobs:
with:
fetch-depth: 0

- name: Use Node.js ${{ env.node-version }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ env.node-version }}
node-version: ${{ matrix.node-version }}

- name: Use latest NPM
run: sudo npm i -g npm
@@ -55,8 +55,8 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [10.x, 12.x, 14.x]
webpack-version: [4, latest]
node-version: [12.x, 14.x, 16.x]
webpack-version: [latest]

runs-on: ${{ matrix.os }}

1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit $1
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install lint-staged
64 changes: 64 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,70 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [9.0.1](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v9.0.0...v9.0.1) (2021-06-25)

### Chore

* update `serialize-javascript`

## [9.0.0](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v8.1.1...v9.0.0) (2021-05-21)


### ⚠ BREAKING CHANGES

* minimum supported `Node.js` version is `12.13.0`

### [8.1.1](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v8.1.0...v8.1.1) (2021-04-06)


### Bug Fixes

* `stage` for processing assets ([#600](https://github.com/webpack-contrib/copy-webpack-plugin/issues/600)) ([#601](https://github.com/webpack-contrib/copy-webpack-plugin/issues/601)) ([d8fa32a](https://github.com/webpack-contrib/copy-webpack-plugin/commit/d8fa32ac1a9e3d42c6257ac7aab6c43cc1bed791))

## [8.1.0](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v8.0.0...v8.1.0) (2021-03-22)


### Features

* added the `transformAll` option ([#596](https://github.com/webpack-contrib/copy-webpack-plugin/issues/596)) ([dde71f0](https://github.com/webpack-contrib/copy-webpack-plugin/commit/dde71f01417b9291c7029a3876e043d76beb9e8d))

## [8.0.0](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v7.0.0...v8.0.0) (2021-03-04)


### ⚠ BREAKING CHANGES

* logic for some placeholders was changed:
- `[hash]` and `[fullhash]` works as in webpack (i.e. it is `hash` of build, not content hash of file), to migrate change `[name].[hash].[ext]` to `[name].[contenthash][ext]`
- `[ext]` doesn't require `.` (dot) before, i.e. change `[name].[ext]` to `[name][ext]`
- `[<hashType>:contenthash:<digestType>:<length>]` and `[<hashType>:hash:<digestType>:<length>]` is not supported anymore, you can use `output.hashDigest`, `output.hashDigestLength` and `output.hashFunction` options to setup it
- `[N]` was removed in favor of using the `to` option as a function
- `[folder]` was removed
- `[emoji]` was removed

### Features

* added `priority` option ([#590](https://github.com/webpack-contrib/copy-webpack-plugin/issues/590)) ([ea610bc](https://github.com/webpack-contrib/copy-webpack-plugin/commit/ea610bc1a0fa7097f291b0928fb28eb96b0f03af))

## [7.0.0](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v6.4.0...v7.0.0) (2020-12-10)


### ⚠ BREAKING CHANGES

* minimum supported webpack version is `5`
* the `flatten` option was removed in favor `[name].[ext]` value for the `to` option,
* the `transformPath` option was removed in favor `Function` type of the `to` option, look at [examples](https://github.com/webpack-contrib/copy-webpack-plugin#function)
* the `cacheTransform` option was removed in favor `Object` type of the `transform` option, look at [examples](https://github.com/webpack-contrib/copy-webpack-plugin#transform)
* migration on the `compilation.hooks.processAssets` hook
* empty filtered paths throw an error, you can disable this behaviour using the `noErrorOnMissing` option

## [6.4.0](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v6.3.2...v6.4.0) (2020-12-07)


### Features

* added the `info` option ([db53937](https://github.com/webpack-contrib/copy-webpack-plugin/commit/db53937016b7dbf494bc728f00242cd26541f6a3))
* added type `Function` for the `to` option ([#563](https://github.com/webpack-contrib/copy-webpack-plugin/issues/563)) ([9bc5416](https://github.com/webpack-contrib/copy-webpack-plugin/commit/9bc541694c0d0975c59586cedfea4a51d11f5278))

### [6.3.2](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v6.3.1...v6.3.2) (2020-11-19)


Loading