pax_global_header 0000666 0000000 0000000 00000000064 13647601031 0014513 g ustar 00root root 0000000 0000000 52 comment=c9d4ff7b054fc581c96ce0e53432d44f9dd8ca72 webpack-4.43.0/ 0000775 0000000 0000000 00000000000 13647601031 0013217 5 ustar 00root root 0000000 0000000 webpack-4.43.0/.editorconfig 0000664 0000000 0000000 00000000467 13647601031 0015703 0 ustar 00root root 0000000 0000000 root = true [*] indent_style = tab indent_size = 2 charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true max_line_length = 80 [*.{yml,yaml,json}] indent_style = space indent_size = 2 [test/cases/parsing/bom/bomfile.{css,js}] charset = utf-8-bom [*.md] trim_trailing_whitespace = false webpack-4.43.0/.eslintignore 0000664 0000000 0000000 00000000517 13647601031 0015725 0 ustar 00root root 0000000 0000000 # Ignore node_modules node_modules # Ignore some folders benchmark coverage # Ignore not support files !.*.js .eslintrc.js *.d.ts # Ignore some test files test/* !test/*Cases !test/helpers !test/*.js test/*Cases/**/*.js !test/*Cases/**/webpack.config.js # Ignore some examples files examples/**/*.js !examples/*/webpack.config.js webpack-4.43.0/.eslintrc.js 0000664 0000000 0000000 00000004741 13647601031 0015464 0 ustar 00root root 0000000 0000000 module.exports = { root: true, plugins: ["prettier", "node", "jest", "jsdoc"], extends: [ "eslint:recommended", "plugin:node/recommended", "plugin:prettier/recommended" ], env: { node: true, es6: true }, parserOptions: { ecmaVersion: 2017 }, rules: { "prettier/prettier": "error", "no-undef": "error", "no-extra-semi": "error", "no-template-curly-in-string": "error", "no-caller": "error", "no-control-regex": "off", yoda: "error", eqeqeq: "error", "global-require": "off", "brace-style": "off", "eol-last": "error", "no-extra-bind": "warn", "no-process-exit": "warn", "no-use-before-define": "off", "no-unused-vars": ["error", { args: "none" }], "no-unsafe-negation": "error", "no-loop-func": "warn", indent: "off", "no-console": "off", "node/no-unsupported-features": "error", "node/no-deprecated-api": "error", "node/no-missing-import": "error", "node/no-missing-require": ["error", { allowModules: ["webpack"] }], "node/no-unpublished-bin": "error", "node/no-unpublished-require": "error", "node/process-exit-as-throw": "error", "jsdoc/require-hyphen-before-param-description": ["error", "never"], "jsdoc/check-tag-names": "error", "jsdoc/check-param-names": "error", "jsdoc/require-param-description": "error", "jsdoc/require-param-name": "error", "jsdoc/require-param-type": "error", "jsdoc/require-param": "error", "jsdoc/require-returns-description": "error", "jsdoc/require-returns-type": "error", "jsdoc/require-returns": "error" }, settings: { jsdoc: { // supported tags https://github.com/microsoft/TypeScript-wiki/blob/master/JSDoc-support-in-JavaScript.md tagNamePreference: { ...["implements", "const", "memberof", "readonly", "yields"].reduce( (acc, tag) => { acc[tag] = { message: `@${tag} currently not supported in Typescript` }; return acc; }, {} ), extends: "extends", return: "returns", constructor: "constructor", prop: "property", arg: "param", augments: "extends", description: false, desc: false, inheritdoc: false, class: false }, overrideReplacesDocs: false } }, overrides: [ { files: ["lib/**/*.runtime.js", "buildin/*.js", "hot/*.js"], env: { es6: false, browser: true }, globals: { Promise: false }, parserOptions: { ecmaVersion: 5 } }, { files: ["test/**/*.js"], env: { "jest/globals": true }, globals: { nsObj: false } } ] }; webpack-4.43.0/.gitattributes 0000664 0000000 0000000 00000000103 13647601031 0016104 0 ustar 00root root 0000000 0000000 * text=auto test/statsCases/* eol=lf examples/* eol=lf bin/* eol=lf webpack-4.43.0/.github/ 0000775 0000000 0000000 00000000000 13647601031 0014557 5 ustar 00root root 0000000 0000000 webpack-4.43.0/.github/FUNDING.yml 0000664 0000000 0000000 00000000031 13647601031 0016366 0 ustar 00root root 0000000 0000000 open_collective: webpack webpack-4.43.0/.github/ISSUE_TEMPLATE.md 0000664 0000000 0000000 00000002107 13647601031 0017264 0 ustar 00root root 0000000 0000000 **Do you want to request a *feature* or report a *bug*?** **What is the current behavior?** **If the current behavior is a bug, please provide the steps to reproduce.** **What is the expected behavior?** **If this is a feature request, what is motivation or use case for changing the behavior?** **Please mention other relevant information such as the browser version, Node.js version, webpack version, and Operating System.** webpack-4.43.0/.github/ISSUE_TEMPLATE/ 0000775 0000000 0000000 00000000000 13647601031 0016742 5 ustar 00root root 0000000 0000000 webpack-4.43.0/.github/ISSUE_TEMPLATE/Bug_report.md 0000664 0000000 0000000 00000002572 13647601031 0021402 0 ustar 00root root 0000000 0000000 --- name: Bug report about: Create a report to help us improve --- # Bug report **What is the current behavior?** **If the current behavior is a bug, please provide the steps to reproduce.** **What is the expected behavior?** **Other relevant information:** webpack version: Node.js version: Operating System: Additional tools: webpack-4.43.0/.github/ISSUE_TEMPLATE/Feature_request.md 0000664 0000000 0000000 00000001412 13647601031 0022425 0 ustar 00root root 0000000 0000000 --- name: Feature request about: Suggest an idea for this project --- ## Feature request **What is the expected behavior?** **What is motivation or use case for adding/changing the behavior?** **How should this be implemented in your opinion?** **Are you willing to work on this yourself?** yes webpack-4.43.0/.github/ISSUE_TEMPLATE/Other.md 0000664 0000000 0000000 00000000470 13647601031 0020346 0 ustar 00root root 0000000 0000000 --- name: Other about: Something else --- webpack-4.43.0/.github/PULL_REQUEST_TEMPLATE.md 0000664 0000000 0000000 00000001773 13647601031 0020370 0 ustar 00root root 0000000 0000000 **What kind of change does this PR introduce?** **Did you add tests for your changes?** **Does this PR introduce a breaking change?** **What needs to be documented once your changes are merged?** webpack-4.43.0/.gitignore 0000664 0000000 0000000 00000000312 13647601031 0015203 0 ustar 00root root 0000000 0000000 /node_modules /test/js /test/browsertest/js /test/fixtures/temp-cache-fixture* /benchmark/js /benchmark/fixtures /examples/**/dist /coverage .DS_Store *.log .idea .vscode .eslintcache package-lock.json webpack-4.43.0/.istanbul.yml 0000664 0000000 0000000 00000000107 13647601031 0015637 0 ustar 00root root 0000000 0000000 instrumentation: excludes: - "**/*.runtime.js" - ".github/*" webpack-4.43.0/.npmrc 0000664 0000000 0000000 00000000022 13647601031 0014331 0 ustar 00root root 0000000 0000000 package-lock=false webpack-4.43.0/.prettierignore 0000664 0000000 0000000 00000000215 13647601031 0016260 0 ustar 00root root 0000000 0000000 # Ignore test fixtures test/*.* !test/*.js !test/**/webpack.config.js # Ignore example fixtures examples/*.* !examples/**/webpack.config.js webpack-4.43.0/.prettierrc.js 0000664 0000000 0000000 00000000230 13647601031 0016011 0 ustar 00root root 0000000 0000000 module.exports = { printWidth: 80, useTabs: true, tabWidth: 2, overrides: [ { files: "*.json", options: { useTabs: false } } ] }; webpack-4.43.0/.travis.yml 0000664 0000000 0000000 00000004126 13647601031 0015333 0 ustar 00root root 0000000 0000000 sudo: false dist: trusty language: node_js branches: only: - webpack-4 - master - next cache: yarn: true directories: - ".jest-cache" - ".eslintcache" stages: - basic - advanced matrix: include: - os: linux node_js: "10" env: NO_WATCH_TESTS=1 JEST="--maxWorkers=2 --cacheDirectory .jest-cache" JOB_PART=basic stage: basic - os: linux node_js: "10" env: NO_WATCH_TESTS=1 JEST="--maxWorkers=2 --cacheDirectory .jest-cache" JOB_PART=lintunit stage: advanced - os: linux node_js: "10" env: NO_WATCH_TESTS=1 JEST="--maxWorkers=2 --cacheDirectory .jest-cache" JOB_PART=integration stage: advanced - os: linux node_js: "10" env: NO_WATCH_TESTS=1 ALTERNATIVE_SORT=1 JEST="--maxWorkers=2 --cacheDirectory .jest-cache" JOB_PART=integration stage: advanced - os: linux node_js: "10" env: - NODEJS_VERSION=v12.0.0-nightly20190206686043e76e - YARN_EXTRA_ARGS="--ignore-engines" - NO_WATCH_TESTS=1 - JEST="--maxWorkers=2 --cacheDirectory .jest-cache" - JOB_PART=integration stage: advanced fast_finish: true before_install: - | if [ "$NODEJS_VERSION" != "" ]; then mkdir /opt/node curl --silent "https://nodejs.org/download/nightly/$NODEJS_VERSION/node-$NODEJS_VERSION-linux-x64.tar.gz" | tar -zxf - --directory /opt/node export PATH="/opt/node/node-$NODEJS_VERSION-linux-x64/bin:$PATH" node --version fi install: - yarn --frozen-lockfile $YARN_EXTRA_ARGS - yarn link --frozen-lockfile $YARN_EXTRA_ARGS || true - yarn link webpack --frozen-lockfile $YARN_EXTRA_ARGS script: yarn travis:$JOB_PART after_success: - cat ./coverage/lcov.info | node_modules/.bin/coveralls --verbose - bash <(curl -s https://codecov.io/bash) -F $JOB_PART -X gcov - rm -f .jest-cache/haste-map* .jest-cache/perf-cache* notifications: slack: secure: JduSdKWwbnLCwo7Z4E59SGE+Uw832UwnXzQiKEpg1BV45MYDPRiGltly1tRHmPh9OGjvGx3XSkC2tNGOBLtL4UL2SCkf012x0t7jDutKRfcv/njynl8jk8l+UhPmaWiHXDQAgGiiKdL4RfzPLW3HeVHCOWm0LKMzcarTa8tw+rE= webpack-4.43.0/CODE_OF_CONDUCT.md 0000664 0000000 0000000 00000000103 13647601031 0016010 0 ustar 00root root 0000000 0000000 [Code of Conduct](https://js.foundation/community/code-of-conduct) webpack-4.43.0/CONTRIBUTING.md 0000664 0000000 0000000 00000005334 13647601031 0015455 0 ustar 00root root 0000000 0000000 # Contributing From opening a bug report to creating a pull request: every contribution is appreciated and welcome. If you're planning to implement a new feature or change the api please create an issue first. This way we can ensure that your precious work is not in vain. ## Issues Most of the time, if webpack is not working correctly for you, it is a simple configuration issue. If you are still having difficulty after looking over your configuration carefully, please post a question to [StackOverflow with the webpack tag](http://stackoverflow.com/tags/webpack). Questions that include your webpack.config.js, relevant files, and the full error message are more likely to receive responses. **If you have discovered a bug or have a feature suggestion, please [create an issue on GitHub](https://github.com/webpack/webpack/issues/new).** Do you want to fix an issue? Look at the issues with a tag of [X5: work required (PR / Help Wanted)](https://github.com/webpack/webpack/labels/X5%3A%20work%20required%20%28PR%20%2F%20Help%20Wanted%29). Each issue should be tagged with a difficulty tag - - D0: My First Commit (Contribution Difficulty) - D1: Easy (Contribution Difficulty) - D2: Medium (Contribution Difficulty) - D3: Hard (Contribution Difficulty) ## Contributing to the webpack ecosystem If you have created your own loader/plugin please include it on the relevant documentation pages: - [List of loaders](https://webpack.js.org/loaders/) or [awesome-webpack](https://github.com/webpack-contrib/awesome-webpack#loaders) - [List of plugins](https://webpack.js.org/plugins) or [awesome-webpack](https://github.com/webpack-contrib/awesome-webpack#webpack-plugins) ## Setup [Setup your local webpack repository](_SETUP.md) ## Submitting Changes After getting some feedbacks, push to your fork and submit a pull request. We may suggest some changes or improvements or alternatives, but for small changes your pull request should be accepted quickly. Something that will increase the chance that your pull request is accepted: * [Write tests](./test/README.md) * Follow the existing coding style * Write a [good commit message](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) ## Documentation webpack is insanely feature rich and documentation is a huge time sink. We greatly appreciate any time spent fixing typos or clarifying sections in the documentation. [See a list of issues with the documentation tag](https://github.com/webpack/webpack/labels/documentation), or [check out the issues on the documentation website's repository](https://github.com/webpack/webpack.js.org/issues). ## Discussions Gitter is only for small questions. To discuss a subject in detail, please send a link to your forum or blog in the Gitter chat. webpack-4.43.0/LICENSE 0000664 0000000 0000000 00000002057 13647601031 0014230 0 ustar 00root root 0000000 0000000 Copyright JS Foundation and other contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. webpack-4.43.0/README.md 0000664 0000000 0000000 00000235410 13647601031 0014503 0 ustar 00root root 0000000 0000000
webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable of transforming, bundling, or packaging just about any resource or asset.