profile
viewpoint

l5oo00/vscode-fecs-plugin 26

A better fecs extension for vscode.

l5oo00/chinese-xinhua 0

:orange_book: 中华新华字典数据库。包括歇后语,成语,词语,汉字。提供新华字典API。

l5oo00/dotvim 0

vimrc

l5oo00/fis3-parser-babel-env 0

a babeljs parser for fis3

l5oo00/fis3-parser-san-component 0

fis3-parser-san-component

l5oo00/fis3-prepackager-babel-helper 0

A prepackager plugin for fis3 when using babel-plugin-external-helpers plugin.

l5oo00/fis3-preprocessor-babel-helper 0

自动提取需要的 babel helper 依赖

l5oo00/mod 0

BaseJS

l5oo00/san-loader 0

san for webpack

PR opened webpack/webpack

fix: add the id of runtime chunk to entryInfo #11279

<!-- Thanks for submitting a pull request! Please provide enough information so that others can review your pull request. --> <!-- Explain the motivation for making this change. What existing problem does the pull request solve? --> <!-- Try to link to an open issue for more information. -->

fixes https://github.com/webpack/webpack/issues/11279

<!-- In addition to that please answer these questions: -->

What kind of change does this PR introduce?

bugfix

Did you add tests for your changes?

Sorry, it is too difficult for me.

Does this PR introduce a breaking change?

No.

What needs to be documented once your changes are merged?

Nothing.

+1 -1

0 comment

1 changed file

pr created time in 10 hours

push eventl5oo00/webpack

l5oo00

commit sha 55902cab5db6d69f16061b8bfa141abf7e13befa

fix: add the id of runtime chunk to entryInfo #11279

view details

push time in 10 hours

fork l5oo00/webpack

A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.

https://webpack.js.org

fork in 10 hours

CommitCommentEvent

issue openedwebpack/webpack

[Webpack 5] Why remove the id of runtime chunk from the entriesPart in JsonpTemplatePlugin

<!-- Please don't delete this template because we'll close your issue --> <!-- Before creating an issue please make sure you are using the latest version of webpack. -->

Bug report

Why remove the id of runtime chunk from the entriesPart in JsonpTemplatePlugin

What is the current behavior?

  • ./dist/runtime.js
// ...

/******/ 		var installedChunks = {
/******/ 			666: 0
/******/ 		};

// ...

  • ./dist/main.js
(window["webpackJsonpw5"] = window["webpackJsonpw5"] || []).push([[179],{

/***/ 138:
/***/ (() => {


console.log(1);


/***/ })

},[[138]]]);

If the current behavior is a bug, please provide the steps to reproduce.

  • ./src/index.js
console.log(1);
  • ./webpack.config.js
module.exports = {
    entry: {
        main: './src/index.js'
    },
    optimization: {
        minimize: false,
        runtimeChunk: 'single'
    }
};
  • ./package.json
{
  "devDependencies": {
        "webpack": "5.0.0-beta.23",
        "webpack-cli": "^4.0.0-beta.2"
    },
    "scripts": {
        "build": "webpack --config webpack.config.js",
    }
}

What is the expected behavior?

  • ./dist/runtime.js
// ...

/******/ 		var installedChunks = {
/******/ 			666: 0
/******/ 		};

// ...

  • ./dist/main.js
(window["webpackJsonpw5"] = window["webpackJsonpw5"] || []).push([[179],{

/***/ 138:
/***/ (() => {


console.log(1);


/***/ })

},[[138, 666]]]);

When I use webpack@5.0.0-beta.18 and below, the behavior is expected.

Other relevant information: webpack version:
Node.js version: v13.14.0 Operating System: macOS Catalina 10.15.2

created time in 15 hours

CommitCommentEvent

startedjuliangruber/brace-expansion

started time in 2 days

startedgoogle/filament

started time in 8 days

startedpissang/claygl

started time in 8 days

startedcli-table/cli-table3

started time in 9 days

starteddoodlewind/js-20-years-cn

started time in 17 days

startedzhongkai/delcache

started time in 20 days

startedsnabbdom/snabbdom

started time in 23 days

startedhuginn/huginn

started time in 24 days

startedGitHubJian/template-compiler

started time in a month

startedmellow-io/mellow

started time in a month

startedhapijs/joi

started time in a month

startedHopding/pdf-lib

started time in a month

startedbrick-design/react-visual-editor

started time in a month

startedwechaty/wechaty

started time in a month

startedvitejs/vite

started time in a month

startedjordwalke/one-click.js

started time in a month

startedzhaoolee/StarsAndClown

started time in a month

startedMottie/GitHub-userscripts

started time in a month

startedzhaoolee/ChromeAppHeroes

started time in a month

startedhyb1996/Auto.js

started time in a month

startedSaekiRaku/vscode-rainbow-fart

started time in 2 months

startedqiansc/test-spider

started time in 2 months

startedvuejs/composition-api

started time in 2 months

startedgrid-js/gridjs

started time in 2 months

startedryansolid/solid

started time in 2 months

startedpshihn/rough-notation

started time in 2 months

startedvalyala/quicktemplate

started time in 2 months

startedsipin/gorazor

started time in 2 months

startedsickcodes/Docker-OSX

started time in 2 months

startedsearchfe/fis-http-push

started time in 2 months

startedvuepressjs/awesome-vuepress

started time in 2 months

startedshadowrocketHelp/help

started time in 2 months

startedjdan/98.css

started time in 2 months

startedbotoxparty/XP.css

started time in 2 months

startedxz/new.css

started time in 2 months

startedgoldfire/howler.js

started time in 2 months

startedwillmcgugan/rich

started time in 2 months

startedaliyun/alibabacloud-console-os

started time in 2 months

startedfacebookexperimental/Recoil

started time in 3 months

startedkrakenjs/zoid

started time in 3 months

more