Skip to content

Commit fa0660e

Browse files
committed
Compatibility with Webpack 5
1 parent 868d1b9 commit fa0660e

File tree

5 files changed

+23
-2259
lines changed

5 files changed

+23
-2259
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,5 @@ dist
102102

103103
# TernJS port file
104104
.tern-port
105+
106+
yarn.lock

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Changelog
2+
3+
## [0.2.0] - 2020-11-15
4+
5+
Compatibility with Webpack 5
6+
7+
## [0.1.0] - 2019-12-13
8+
9+
Initial implementation

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Webpack Dump Metadata Plugin
2+
23
Save Webpack build metadata to a file.
34

45
## Install
@@ -37,7 +38,7 @@ Please refer to the [Webpack documentation](https://webpack.js.org/api/stats/) f
3738

3839
## Options
3940

40-
|Name|Description|Default
41-
|:--:|:----------|:-----|
42-
|**`filename`**|Path to the output file|`'meta.json'`
43-
|**`prepare`**|Extract properties from Webpack build metadata to save. These options should be serializable to JSON.|`stats => ({hash: stats.hash})`
41+
| Name | Description | Default |
42+
| :------------: | :---------------------------------------------------------------------------------------------------- | :------------------------------ |
43+
| **`filename`** | Path to the output file | `'meta.json'` |
44+
| **`prepare`** | Extract properties from Webpack build metadata to save. These options should be serializable to JSON. | `stats => ({hash: stats.hash})` |

package.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
11
{
22
"name": "dumpmeta-webpack-plugin",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"description": "Save Webpack build metadata to a file",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
7-
"repository": "git@github.com:drudv/dumpmeta-webpack-plugin.git",
7+
"repository": {
8+
"type": "git",
9+
"url": "https://github.com/drudv/dumpmeta-webpack-plugin.git"
10+
},
811
"author": "Dmitry Druganov <drud@drud.cz>",
912
"license": "MIT",
1013
"scripts": {
1114
"build": "tsc"
1215
},
1316
"devDependencies": {
14-
"typescript": "^3.7.3"
17+
"typescript": "^4.0.5"
1518
},
1619
"dependencies": {
17-
"@types/webpack": ">=4.0.0 <5.0.0",
18-
"webpack": ">=4.0.0 <5.0.0"
20+
"webpack": ">=4.0.0 <6.0.0"
1921
},
2022
"files": [
2123
"dist"

0 commit comments

Comments
 (0)