Skip to content

Commit b0cc956

Browse files
authored
Merge pull request #70 from weaverryan/tweak-plugins
Renaming a few files and removing unneeded dependency
2 parents c36180a + f843c42 commit b0cc956

File tree

7 files changed

+9
-31
lines changed

7 files changed

+9
-31
lines changed

.eslintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
lib/webpack-manifest-plugin.js
1+
lib/webpack/webpack-manifest-plugin.js

lib/config-generator.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
const webpack = require('webpack');
1313
const ExtractTextPlugin = require('extract-text-webpack-plugin');
14-
const ManifestPlugin = require('./webpack-manifest-plugin');
15-
const DeleteUnusedEntriesJSPlugin = require('./DeleteUnusedEntriesJSPlugin');
14+
const ManifestPlugin = require('./webpack/webpack-manifest-plugin');
15+
const DeleteUnusedEntriesJSPlugin = require('./webpack/delete-unused-entries-js-plugin');
1616
const loaderFeatures = require('./loader-features');
1717
const CleanWebpackPlugin = require('clean-webpack-plugin');
1818
const WebpackChunkHash = require('webpack-chunk-hash');

lib/webpack-manifest-plugin.js renamed to lib/webpack/webpack-manifest-plugin.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
* File is originally a direct copy from https://github.com/danethurber/webpack-manifest-plugin
33
* at version 1.1.0.
44
*
5+
* The library is licensed as MIT.
6+
*
57
* There was then one change made in the code below for
68
* this library.
79
*/

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
"webpack": "^2.2.0",
4545
"webpack-chunk-hash": "^0.4.0",
4646
"webpack-dev-server": "^2.4.5",
47-
"webpack-manifest-plugin": "^1.1.0",
4847
"yargs": "^8.0.1"
4948
},
5049
"devDependencies": {

test/config-generator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const WebpackConfig = require('../lib/WebpackConfig');
1414
const RuntimeConfig = require('../lib/config/RuntimeConfig');
1515
const configGenerator = require('../lib/config-generator');
1616
const ExtractTextPlugin = require('extract-text-webpack-plugin');
17-
const ManifestPlugin = require('./../lib/webpack-manifest-plugin');
17+
const ManifestPlugin = require('./../lib/webpack/webpack-manifest-plugin');
1818
const CleanWebpackPlugin = require('clean-webpack-plugin');
1919
const webpack = require('webpack');
2020

yarn.lock

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2185,16 +2185,6 @@ friendly-errors-webpack-plugin@^1.6.1:
21852185
error-stack-parser "^2.0.0"
21862186
string-length "^1.0.1"
21872187

2188-
fs-extra@^0.30.0:
2189-
version "0.30.0"
2190-
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-0.30.0.tgz#f233ffcc08d4da7d432daa449776989db1df93f0"
2191-
dependencies:
2192-
graceful-fs "^4.1.2"
2193-
jsonfile "^2.1.0"
2194-
klaw "^1.0.0"
2195-
path-is-absolute "^1.0.0"
2196-
rimraf "^2.2.8"
2197-
21982188
fs-extra@^2.0.0:
21992189
version "2.1.2"
22002190
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-2.1.2.tgz#046c70163cef9aad46b0e4a7fa467fb22d71de35"
@@ -2346,7 +2336,7 @@ globule@^1.0.0:
23462336
lodash "~4.17.4"
23472337
minimatch "~3.0.2"
23482338

2349-
graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.1.9:
2339+
graceful-fs@^4.1.2, graceful-fs@^4.1.6:
23502340
version "4.1.11"
23512341
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658"
23522342

@@ -2947,12 +2937,6 @@ kind-of@^4.0.0:
29472937
dependencies:
29482938
is-buffer "^1.1.5"
29492939

2950-
klaw@^1.0.0:
2951-
version "1.3.1"
2952-
resolved "https://registry.yarnpkg.com/klaw/-/klaw-1.3.1.tgz#4088433b46b3b1ba259d78785d8e96f73ba02439"
2953-
optionalDependencies:
2954-
graceful-fs "^4.1.9"
2955-
29562940
lazy-cache@^0.2.3:
29572941
version "0.2.7"
29582942
resolved "https://registry.yarnpkg.com/lazy-cache/-/lazy-cache-0.2.7.tgz#7feddf2dcb6edb77d11ef1d117ab5ffdf0ab1b65"
@@ -4527,13 +4511,13 @@ right-align@^0.1.1:
45274511
dependencies:
45284512
align-text "^0.1.1"
45294513

4530-
rimraf@2, rimraf@^2.2.8, rimraf@~2.5.1:
4514+
rimraf@2, rimraf@~2.5.1:
45314515
version "2.5.4"
45324516
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.5.4.tgz#96800093cbf1a0c86bd95b4625467535c29dfa04"
45334517
dependencies:
45344518
glob "^7.0.5"
45354519

4536-
rimraf@^2.5.1, rimraf@^2.6.1:
4520+
rimraf@^2.2.8, rimraf@^2.5.1, rimraf@^2.6.1:
45374521
version "2.6.1"
45384522
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.1.tgz#c2338ec643df7a1b7fe5c54fa86f57428a55f33d"
45394523
dependencies:
@@ -5302,13 +5286,6 @@ webpack-dev-server@^2.4.5:
53025286
webpack-dev-middleware "^1.10.2"
53035287
yargs "^6.0.0"
53045288

5305-
webpack-manifest-plugin@^1.1.0:
5306-
version "1.1.0"
5307-
resolved "https://registry.yarnpkg.com/webpack-manifest-plugin/-/webpack-manifest-plugin-1.1.0.tgz#6b6c718aade8a2537995784b46bd2e9836057caa"
5308-
dependencies:
5309-
fs-extra "^0.30.0"
5310-
lodash ">=3.5 <5"
5311-
53125289
webpack-sources@^0.2.3:
53135290
version "0.2.3"
53145291
resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-0.2.3.tgz#17c62bfaf13c707f9d02c479e0dcdde8380697fb"

0 commit comments

Comments
 (0)