Skip to content
This repository was archived by the owner on Jun 8, 2022. It is now read-only.

Commit 06e6d03

Browse files
committed
Use RawSource from webpack-sources module
1 parent 0e01a4f commit 06e6d03

File tree

3 files changed

+14
-18
lines changed

3 files changed

+14
-18
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@
2929
"nyc": "^10.2.0",
3030
"prettier": "^1.1.0"
3131
},
32-
"dependencies": {},
32+
"dependencies": {
33+
"webpack-sources": "^1.0.1"
34+
},
3335
"scripts": {
3436
"lint": "node_modules/.bin/eslint ./src",
3537
"test": "ava test/*-test.js",

src/chunk-manifest-webpack-plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use strict";
22

3-
var RawSource = require("webpack-core/lib/RawSource");
3+
var RawSource = require("webpack-sources").RawSource;
44

55
class ChunkManifestPlugin {
66
constructor(options) {

yarn.lock

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -782,12 +782,6 @@ chokidar@^1.4.2:
782782
optionalDependencies:
783783
fsevents "^1.0.0"
784784

785-
chunk-manifest-webpack-plugin@^1.0.0:
786-
version "1.0.0"
787-
resolved "https://registry.yarnpkg.com/chunk-manifest-webpack-plugin/-/chunk-manifest-webpack-plugin-1.0.0.tgz#84ef34ff676e7b147e9512f7f0289ef3589f33e2"
788-
dependencies:
789-
webpack-core "^0.6.9"
790-
791785
ci-info@^1.0.0:
792786
version "1.0.0"
793787
resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-1.0.0.tgz#dc5285f2b4e251821683681c381c3388f46ec534"
@@ -3314,23 +3308,23 @@ sort-keys@^1.1.1, sort-keys@^1.1.2:
33143308
dependencies:
33153309
is-plain-obj "^1.0.0"
33163310

3317-
source-list-map@~0.1.7:
3318-
version "0.1.8"
3319-
resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-0.1.8.tgz#c550b2ab5427f6b3f21f5afead88c4f5587b2106"
3311+
source-list-map@^2.0.0:
3312+
version "2.0.0"
3313+
resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-2.0.0.tgz#aaa47403f7b245a92fbc97ea08f250d6087ed085"
33203314

33213315
source-map-support@^0.4.0, source-map-support@^0.4.2:
33223316
version "0.4.14"
33233317
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.4.14.tgz#9d4463772598b86271b4f523f6c1f4e02a7d6aef"
33243318
dependencies:
33253319
source-map "^0.5.6"
33263320

3327-
source-map@^0.4.4, source-map@~0.4.1:
3321+
source-map@^0.4.4:
33283322
version "0.4.4"
33293323
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.4.4.tgz#eba4f5da9c0dc999de68032d8b4f76173652036b"
33303324
dependencies:
33313325
amdefine ">=0.0.4"
33323326

3333-
source-map@^0.5.0, source-map@^0.5.3, source-map@^0.5.6, source-map@~0.5.1:
3327+
source-map@^0.5.0, source-map@^0.5.3, source-map@^0.5.6, source-map@~0.5.1, source-map@~0.5.3:
33343328
version "0.5.6"
33353329
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.6.tgz#75ce38f52bf0733c5a7f0c118d81334a2bb5f412"
33363330

@@ -3676,12 +3670,12 @@ [email protected]:
36763670
dependencies:
36773671
extsprintf "1.0.2"
36783672

3679-
webpack-core@^0.6.9:
3680-
version "0.6.9"
3681-
resolved "https://registry.yarnpkg.com/webpack-core/-/webpack-core-0.6.9.tgz#fc571588c8558da77be9efb6debdc5a3b172bdc2"
3673+
webpack-sources@^1.0.1:
3674+
version "1.0.1"
3675+
resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.0.1.tgz#c7356436a4d13123be2e2426a05d1dad9cbe65cf"
36823676
dependencies:
3683-
source-list-map "~0.1.7"
3684-
source-map "~0.4.1"
3677+
source-list-map "^2.0.0"
3678+
source-map "~0.5.3"
36853679

36863680
which-module@^1.0.0:
36873681
version "1.0.0"

0 commit comments

Comments
 (0)