Skip to content

Commit

Permalink
Update webpack version (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra authored and rauchg committed Dec 20, 2018
1 parent d039686 commit 373f5f1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
6 changes: 0 additions & 6 deletions scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,6 @@ async function main() {
__dirname + "/../dist/ncc/loaders/lib/"
);

// copy webpack buildin
await copy(
__dirname + "/../node_modules/webpack/buildin/*.js",
__dirname + "/../dist/ncc/buildin/"
);

for (const file of await glob(__dirname + "/../dist/**/*.js")) {
console.log(
`✓ ${relative(__dirname + "/../", file)} (${bytes(statSync(file).size)})`
Expand Down
2 changes: 0 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,6 @@ module.exports = (
}

function finalizeHandler () {
if (!watch)
FileCachePlugin.purgeMemoryCache();
const assets = Object.create(null);
getFlatFiles(mfs.data, assets);
delete assets[filename];
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11111,7 +11111,7 @@ webpack-sources@^1.1.0, webpack-sources@^1.3.0:

"webpack@github:webpack/webpack#next":
version "5.0.0-next"
resolved "https://codeload.github.com/webpack/webpack/tar.gz/ca9790954504b01a824f852ae618e2414da38b56"
resolved "https://codeload.github.com/webpack/webpack/tar.gz/3f71a165bf17bfb27138dcba799d9437a9af558c"
dependencies:
"@webassemblyjs/ast" "1.7.11"
"@webassemblyjs/helper-module-context" "1.7.11"
Expand Down

0 comments on commit 373f5f1

Please sign in to comment.