Skip to content

Commit 4b9539c

Browse files
⬆️ Bump copy-webpack-plugin from 5.1.2 to 6.4.1 (#9)
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 5.1.2 to 6.4.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/webpack-contrib/copy-webpack-plugin/releases">copy-webpack-plugin's releases</a>.</em></p> <blockquote> <h2>v6.4.1</h2> <h3><a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v6.4.0...v6.4.1">6.4.1</a> (2020-12-16)</h3> <h3>Bug Fixes</h3> <ul> <li>compatibility with webpack 4 file system (<a href="https://github-redirect.dependabot.com/webpack-contrib/copy-webpack-plugin/issues/570">#570</a>) (<a href="https://github.com/webpack-contrib/copy-webpack-plugin/commit/720026ad0c526e003ab7270f1712fd712d4fdfad">720026a</a>)</li> </ul> <h2>v6.4.0</h2> <h2><a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v6.3.2...v6.4.0">6.4.0</a> (2020-12-07)</h2> <h3>Features</h3> <ul> <li>added the <code>info</code> option (<a href="https://github.com/webpack-contrib/copy-webpack-plugin/commit/db53937016b7dbf494bc728f00242cd26541f6a3">db53937</a>)</li> <li>added type <code>Function</code> for the <code>to</code> option (<a href="https://github-redirect.dependabot.com/webpack-contrib/copy-webpack-plugin/issues/563">#563</a>) (<a href="https://github.com/webpack-contrib/copy-webpack-plugin/commit/9bc541694c0d0975c59586cedfea4a51d11f5278">9bc5416</a>)</li> </ul> <h2>v6.3.2</h2> <h3><a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v6.3.1...v6.3.2">6.3.2</a> (2020-11-19)</h3> <h3>Bug Fixes</h3> <ul> <li>watching directories (<a href="https://github-redirect.dependabot.com/webpack-contrib/copy-webpack-plugin/issues/558">#558</a>) (<a href="https://github.com/webpack-contrib/copy-webpack-plugin/commit/7b58fd9a89e9b29578b30cb3119453e78e036ec2">7b58fd9</a>)</li> </ul> <h2>v6.3.1</h2> <h3><a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v6.3.0...v6.3.1">6.3.1</a> (2020-11-13)</h3> <h3>Bug Fixes</h3> <ul> <li>watching (<a href="https://github-redirect.dependabot.com/webpack-contrib/copy-webpack-plugin/issues/555">#555</a>) (<a href="https://github.com/webpack-contrib/copy-webpack-plugin/commit/b9969230321df68ed235ed1861729837f234750e">b996923</a>)</li> </ul> <h2>v6.3.0</h2> <h2><a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v6.2.1...v6.3.0">6.3.0</a> (2020-11-03)</h2> <h3>Features</h3> <ul> <li>added the <code>sourceFilename</code> info (original source filename) to assets info (<a href="https://github-redirect.dependabot.com/webpack-contrib/copy-webpack-plugin/issues/542">#542</a>) (<a href="https://github.com/webpack-contrib/copy-webpack-plugin/commit/db2e3bfae9322592c3a9af1e45d25df165b6b4e0">db2e3bf</a>)</li> <li>persistent cache between compilations (webpack@5 only) (<a href="https://github-redirect.dependabot.com/webpack-contrib/copy-webpack-plugin/issues/541">#541</a>) (<a href="https://github.com/webpack-contrib/copy-webpack-plugin/commit/c8924512a34391ce92715a2b61fc4b0b91a9e10f">c892451</a>)</li> </ul> <h2>v6.2.1</h2> <h3><a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v6.2.0...v6.2.1">6.2.1</a> (2020-10-09)</h3> <h3>Chore</h3> <ul> <li>update <code>schema-utils</code></li> </ul> <h2>v6.2.0</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/webpack-contrib/copy-webpack-plugin/blob/v6.4.1/CHANGELOG.md">copy-webpack-plugin's changelog</a>.</em></p> <blockquote> <h3><a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v6.4.0...v6.4.1">6.4.1</a> (2020-12-16)</h3> <h3>Bug Fixes</h3> <ul> <li>compatibility with webpack 4 file system (<a href="https://github-redirect.dependabot.com/webpack-contrib/copy-webpack-plugin/issues/570">#570</a>) (<a href="https://github.com/webpack-contrib/copy-webpack-plugin/commit/720026ad0c526e003ab7270f1712fd712d4fdfad">720026a</a>)</li> </ul> <h2><a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v6.3.2...v6.4.0">6.4.0</a> (2020-12-07)</h2> <h3>Features</h3> <ul> <li>added the <code>info</code> option (<a href="https://github.com/webpack-contrib/copy-webpack-plugin/commit/db53937016b7dbf494bc728f00242cd26541f6a3">db53937</a>)</li> <li>added type <code>Function</code> for the <code>to</code> option (<a href="https://github-redirect.dependabot.com/webpack-contrib/copy-webpack-plugin/issues/563">#563</a>) (<a href="https://github.com/webpack-contrib/copy-webpack-plugin/commit/9bc541694c0d0975c59586cedfea4a51d11f5278">9bc5416</a>)</li> </ul> <h3><a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v6.3.1...v6.3.2">6.3.2</a> (2020-11-19)</h3> <h3>Bug Fixes</h3> <ul> <li>watching directories (<a href="https://github-redirect.dependabot.com/webpack-contrib/copy-webpack-plugin/issues/558">#558</a>) (<a href="https://github.com/webpack-contrib/copy-webpack-plugin/commit/7b58fd9a89e9b29578b30cb3119453e78e036ec2">7b58fd9</a>)</li> </ul> <h3><a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v6.3.0...v6.3.1">6.3.1</a> (2020-11-13)</h3> <h3>Bug Fixes</h3> <ul> <li>watching (<a href="https://github-redirect.dependabot.com/webpack-contrib/copy-webpack-plugin/issues/555">#555</a>) (<a href="https://github.com/webpack-contrib/copy-webpack-plugin/commit/b9969230321df68ed235ed1861729837f234750e">b996923</a>)</li> </ul> <h2><a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v6.2.1...v6.3.0">6.3.0</a> (2020-11-03)</h2> <h3>Features</h3> <ul> <li>added the <code>sourceFilename</code> info (original source filename) to assets info (<a href="https://github-redirect.dependabot.com/webpack-contrib/copy-webpack-plugin/issues/542">#542</a>) (<a href="https://github.com/webpack-contrib/copy-webpack-plugin/commit/db2e3bfae9322592c3a9af1e45d25df165b6b4e0">db2e3bf</a>)</li> <li>persistent cache between compilations (webpack@5 only) (<a href="https://github-redirect.dependabot.com/webpack-contrib/copy-webpack-plugin/issues/541">#541</a>) (<a href="https://github.com/webpack-contrib/copy-webpack-plugin/commit/c8924512a34391ce92715a2b61fc4b0b91a9e10f">c892451</a>)</li> </ul> <h3><a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v6.2.0...v6.2.1">6.2.1</a> (2020-10-09)</h3> <h3>Chore</h3> <ul> <li>update <code>schema-utils</code></li> </ul> <h2><a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v6.1.1...v6.2.0">6.2.0</a> (2020-10-02)</h2> <h3>Features</h3> <ul> <li>use webpack input filesystem (only webpack@5) (<a href="https://github-redirect.dependabot.com/webpack-contrib/copy-webpack-plugin/issues/531">#531</a>) (<a href="https://github.com/webpack-contrib/copy-webpack-plugin/commit/6f2f455b9411ac69ef6aa3b953474f1d7fa23808">6f2f455</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/webpack-contrib/copy-webpack-plugin/commit/1eceb4bbf906996cb932a532a708c2af50134426"><code>1eceb4b</code></a> chore(release): 6.4.1</li> <li><a href="https://github.com/webpack-contrib/copy-webpack-plugin/commit/720026ad0c526e003ab7270f1712fd712d4fdfad"><code>720026a</code></a> fix: compatibility with webpack 4 file system (<a href="https://github-redirect.dependabot.com/webpack-contrib/copy-webpack-plugin/issues/570">#570</a>)</li> <li><a href="https://github.com/webpack-contrib/copy-webpack-plugin/commit/6c11e21a5460052233dccaad54421daccb3366f3"><code>6c11e21</code></a> chore(release): 6.4.0</li> <li><a href="https://github.com/webpack-contrib/copy-webpack-plugin/commit/db53937016b7dbf494bc728f00242cd26541f6a3"><code>db53937</code></a> feat: added the <code>info</code> option</li> <li><a href="https://github.com/webpack-contrib/copy-webpack-plugin/commit/9bc541694c0d0975c59586cedfea4a51d11f5278"><code>9bc5416</code></a> feat: added type <code>Function</code> for the <code>to</code> option (<a href="https://github-redirect.dependabot.com/webpack-contrib/copy-webpack-plugin/issues/563">#563</a>)</li> <li><a href="https://github.com/webpack-contrib/copy-webpack-plugin/commit/71676457b5257ada0440aca4aea70ba1fceeaac0"><code>7167645</code></a> chore(release): 6.3.2</li> <li><a href="https://github.com/webpack-contrib/copy-webpack-plugin/commit/7b58fd9a89e9b29578b30cb3119453e78e036ec2"><code>7b58fd9</code></a> fix: watching directories (<a href="https://github-redirect.dependabot.com/webpack-contrib/copy-webpack-plugin/issues/558">#558</a>)</li> <li><a href="https://github.com/webpack-contrib/copy-webpack-plugin/commit/521572190800ece87756a4a6cf17f43753092408"><code>5215721</code></a> chore(release): 6.3.1</li> <li><a href="https://github.com/webpack-contrib/copy-webpack-plugin/commit/c92b5ee1671f05b75b74fdb22072dede2cc2fcc3"><code>c92b5ee</code></a> style: default prettier options (<a href="https://github-redirect.dependabot.com/webpack-contrib/copy-webpack-plugin/issues/556">#556</a>)</li> <li><a href="https://github.com/webpack-contrib/copy-webpack-plugin/commit/b9969230321df68ed235ed1861729837f234750e"><code>b996923</code></a> fix: watching (<a href="https://github-redirect.dependabot.com/webpack-contrib/copy-webpack-plugin/issues/555">#555</a>)</li> <li>Additional commits viewable in <a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v5.1.2...v6.4.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=copy-webpack-plugin&package-manager=npm_and_yarn&previous-version=5.1.2&new-version=6.4.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Co-authored-by: shejinxin <[email protected]>
1 parent 079d1c7 commit 4b9539c

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
"babel-loader": "^8.0.6",
121121
"babel-plugin-import": "^1.13.0",
122122
"bestzip": "^2.1.7",
123-
"copy-webpack-plugin": "^5.1.1",
123+
"copy-webpack-plugin": "^6.4.1",
124124
"cross-env": "^6.0.3",
125125
"css-loader": "^3.4.2",
126126
"electron": "^12.0.0",

webpack/webpack.renderer.config.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,13 @@ module.exports = merge.smart(baseConfig, {
7474
title: pkg.title,
7575
template: path.resolve(__dirname, '../src/index.ejs'),
7676
}),
77-
new CopyPlugin([
78-
{ from: './node_modules/@timkendrick/monaco-editor/dist/external/index.js', to: './monaco.js' },
79-
{ from: './node_modules/@timkendrick/monaco-editor/dist/external/monaco.css', to: './monaco.css' },
80-
{ from: './vendor/files.zip', to: './files.zip' },
81-
]),
77+
new CopyPlugin({
78+
patterns: [
79+
{ from: './node_modules/@timkendrick/monaco-editor/dist/external/index.js', to: './monaco.js' },
80+
{ from: './node_modules/@timkendrick/monaco-editor/dist/external/monaco.css', to: './monaco.css' },
81+
{ from: './vendor/files.zip', to: './files.zip' },
82+
],
83+
}),
8284
new webpack.NamedModulesPlugin(),
8385
new webpack.DefinePlugin({
8486
'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV || 'development'),

0 commit comments

Comments
 (0)