pax_global_header 0000666 0000000 0000000 00000000064 13154013421 0014504 g ustar 00root root 0000000 0000000 52 comment=92d5c209437f9ef9293571e24cc8dcf10459d578 webpack-3.5.6/ 0000775 0000000 0000000 00000000000 13154013421 0013133 5 ustar 00root root 0000000 0000000 webpack-3.5.6/.editorconfig 0000664 0000000 0000000 00000000612 13154013421 0015607 0 ustar 00root root 0000000 0000000 root = true [*] indent_style = tab indent_size = 4 charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true max_line_length = 233 [*.json] indent_style = space indent_size = 2 [*.yml] indent_style = space indent_size = 2 [*.yaml] indent_style = space indent_size = 2 [test/cases/parsing/bom/bomfile.{css,js}] charset = utf-8-bom [*.md] trim_trailing_whitespace = false webpack-3.5.6/.eslintrc.js 0000664 0000000 0000000 00000003502 13154013421 0015372 0 ustar 00root root 0000000 0000000 module.exports = { "root": true, "plugins": ["node"], "extends": ["eslint:recommended", "plugin:node/recommended"], "env": { "node": true, "es6": true, }, "parserOptions": { "ecmaVersion": 2017 }, "rules": { "quotes": ["error", "double"], "no-undef": "error", "no-extra-semi": "error", "semi": "error", "no-template-curly-in-string": "error", "no-caller": "error", "yoda": "error", "eqeqeq": "error", "global-require": "off", "brace-style": "error", "eol-last": "error", "indent": ["error", "tab", { "SwitchCase": 1 }], "no-extra-bind": "warn", "no-empty": "off", "no-multiple-empty-lines": "error", "no-multi-spaces": "error", "no-process-exit": "warn", "space-in-parens": "error", "no-trailing-spaces": "error", "no-use-before-define": "off", "no-unused-vars": ["error", { "args": "none" }], "key-spacing": "error", "space-infix-ops": "error", "no-unsafe-negation": "error", "no-loop-func": "warn", "space-before-function-paren": ["error", "never"], "space-before-blocks": "error", "object-curly-spacing": ["error", "always"], "indent": "off", "keyword-spacing": ["error", { "after": false, "overrides": { "const": { "after": true }, "try": { "after": true }, "else": { "after": true }, "throw": { "after": true }, "case": { "after": true }, "return": { "after": true }, "finally": { "after": true }, "do": { "after": true } } }], "no-console": "off", "valid-jsdoc": "error", "node/no-unsupported-features": ["error", { version: 4 }], "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" } }; webpack-3.5.6/.gitattributes 0000664 0000000 0000000 00000000103 13154013421 0016020 0 ustar 00root root 0000000 0000000 * text=auto test/statsCases/* eol=lf examples/* eol=lf bin/* eol=lf webpack-3.5.6/.github/ 0000775 0000000 0000000 00000000000 13154013421 0014473 5 ustar 00root root 0000000 0000000 webpack-3.5.6/.github/ISSUE_TEMPLATE.md 0000664 0000000 0000000 00000002106 13154013421 0017177 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-3.5.6/.github/PULL_REQUEST_TEMPLATE.md 0000664 0000000 0000000 00000001523 13154013421 0020275 0 ustar 00root root 0000000 0000000 **What kind of change does this PR introduce?** **Did you add tests for your changes?** **If relevant, link to documentation update:** **Summary** **Does this PR introduce a breaking change?** **Other information** webpack-3.5.6/.gitignore 0000664 0000000 0000000 00000000250 13154013421 0015120 0 ustar 00root root 0000000 0000000 /node_modules /test/js /test/browsertest/js /test/fixtures/temp-cache-fixture /benchmark/js /benchmark/fixtures /examples/**/js /coverage .DS_Store *.log .idea .vscode webpack-3.5.6/.jsbeautifyrc 0000664 0000000 0000000 00000001302 13154013421 0015622 0 ustar 00root root 0000000 0000000 { "js": { "allowed_file_extensions": ["js", "json", "jshintrc", "jsbeautifyrc"], "brace_style": "collapse", "break_chained_methods": false, "e4x": true, "eval_code": false, "end_with_newline": true, "indent_char": "\t", "indent_level": 0, "indent_size": 1, "indent_with_tabs": true, "jslint_happy": false, "jslint_happy_align_switch_case": true, "space_after_anon_function": false, "keep_array_indentation": false, "keep_function_indentation": false, "max_preserve_newlines": 2, "preserve_newlines": true, "space_before_conditional": false, "space_in_paren": false, "unescape_strings": false, "wrap_line_length": 0 } } webpack-3.5.6/.travis.yml 0000664 0000000 0000000 00000002074 13154013421 0015247 0 ustar 00root root 0000000 0000000 sudo: false dist: precise language: node_js branches: only: - master - next cache: directories: - $HOME/.npm - $HOME/.yarn-cache matrix: include: - os: linux node_js: "8" env: NO_WATCH_TESTS=1 JOB_PART=lint - os: linux node_js: "8" env: NO_WATCH_TESTS=1 JOB_PART=test - os: linux node_js: "6" env: NO_WATCH_TESTS=1 JOB_PART=test - os: linux node_js: "4.3" env: NO_WATCH_TESTS=1 JOB_PART=test - os: osx node_js: "8" env: NO_WATCH_TESTS=1 JOB_PART=test allow_failures: - os: osx fast_finish: true before_script: - bash ./ci/travis-install.sh script: npm run travis:$JOB_PART after_success: - cat ./coverage/lcov.info | node_modules/.bin/coveralls --verbose - cat ./coverage/coverage.json | node_modules/codecov.io/bin/codecov.io.js - rm -rf ./coverage notifications: slack: secure: JduSdKWwbnLCwo7Z4E59SGE+Uw832UwnXzQiKEpg1BV45MYDPRiGltly1tRHmPh9OGjvGx3XSkC2tNGOBLtL4UL2SCkf012x0t7jDutKRfcv/njynl8jk8l+UhPmaWiHXDQAgGiiKdL4RfzPLW3HeVHCOWm0LKMzcarTa8tw+rE= webpack-3.5.6/CONTRIBUTING.md 0000664 0000000 0000000 00000004012 13154013421 0015361 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 and relevant files are more likely to receive responses. **If you have discovered a bug or have a feature suggestion, feel free to create an issue on Github.** ## 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 ```bash git clone https://github.com/webpack/webpack.git cd webpack npm install -g yarn yarn install yarn link yarn link webpack ``` To run the entire test suite use: ```bash yarn test ``` ## Submitting Changes After getting some feedback, 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. Some things 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. webpack-3.5.6/LICENSE 0000664 0000000 0000000 00000002057 13154013421 0014144 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-3.5.6/README.md 0000664 0000000 0000000 00000140375 13154013421 0014424 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.