pax_global_header 0000666 0000000 0000000 00000000064 13454167727 0014532 g ustar 00root root 0000000 0000000 52 comment=b72b96a2bc5d2c7a308d0943567e0db191d3c358 webpack-4.30.0/ 0000775 0000000 0000000 00000000000 13454167727 0013232 5 ustar 00root root 0000000 0000000 webpack-4.30.0/.editorconfig 0000664 0000000 0000000 00000000467 13454167727 0015716 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.30.0/.eslintrc.js 0000664 0000000 0000000 00000003330 13454167727 0015470 0 ustar 00root root 0000000 0000000 module.exports = { root: true, plugins: ["prettier", "node", "jest"], 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", "valid-jsdoc": [ "error", { prefer: { return: "returns", prop: "property", memberof: "DONTUSE", class: "DONTUSE", inheritdoc: "DONTUSE", description: "DONTUSE", readonly: "DONTUSE" }, preferType: { "*": "any" }, requireReturnType: true } ], "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" }, 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.30.0/.gitattributes 0000664 0000000 0000000 00000000103 13454167727 0016117 0 ustar 00root root 0000000 0000000 * text=auto test/statsCases/* eol=lf examples/* eol=lf bin/* eol=lf webpack-4.30.0/.github/ 0000775 0000000 0000000 00000000000 13454167727 0014572 5 ustar 00root root 0000000 0000000 webpack-4.30.0/.github/ISSUE_TEMPLATE.md 0000664 0000000 0000000 00000002107 13454167727 0017277 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.30.0/.github/ISSUE_TEMPLATE/ 0000775 0000000 0000000 00000000000 13454167727 0016755 5 ustar 00root root 0000000 0000000 webpack-4.30.0/.github/ISSUE_TEMPLATE/Bug_report.md 0000664 0000000 0000000 00000002572 13454167727 0021415 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.30.0/.github/ISSUE_TEMPLATE/Feature_request.md 0000664 0000000 0000000 00000001412 13454167727 0022440 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.30.0/.github/ISSUE_TEMPLATE/Other.md 0000664 0000000 0000000 00000000470 13454167727 0020361 0 ustar 00root root 0000000 0000000 --- name: Other about: Something else --- webpack-4.30.0/.github/PULL_REQUEST_TEMPLATE.md 0000664 0000000 0000000 00000001773 13454167727 0020403 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.30.0/.gitignore 0000664 0000000 0000000 00000000311 13454167727 0015215 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.30.0/.istanbul.yml 0000664 0000000 0000000 00000000107 13454167727 0015652 0 ustar 00root root 0000000 0000000 instrumentation: excludes: - "**/*.runtime.js" - ".github/*" webpack-4.30.0/.npmrc 0000664 0000000 0000000 00000000022 13454167727 0014344 0 ustar 00root root 0000000 0000000 package-lock=false webpack-4.30.0/.prettierignore 0000664 0000000 0000000 00000000215 13454167727 0016273 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.30.0/.prettierrc.js 0000664 0000000 0000000 00000000230 13454167727 0016024 0 ustar 00root root 0000000 0000000 module.exports = { printWidth: 80, useTabs: true, tabWidth: 2, overrides: [ { files: "*.json", options: { useTabs: false } } ] }; webpack-4.30.0/.travis.yml 0000664 0000000 0000000 00000004107 13454167727 0015345 0 ustar 00root root 0000000 0000000 sudo: false dist: trusty language: node_js branches: only: - 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=lint-unit 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.30.0/CONTRIBUTING.md 0000664 0000000 0000000 00000005145 13454167727 0015470 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) ## 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.30.0/LICENSE 0000664 0000000 0000000 00000002057 13454167727 0014243 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.30.0/README.md 0000664 0000000 0000000 00000235154 13454167727 0014523 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.