Skip to content
This repository was archived by the owner on Mar 17, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: webpack-contrib/raw-loader
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: c05e5bc8dd1b72942d52b5a6d1419751ea394b48
Choose a base ref
...
head repository: webpack-contrib/raw-loader
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 35a10f4838e37c8f952a82ebb66b03f0fe27946e
Choose a head ref
  • 17 commits
  • 52 files changed
  • 3 contributors

Commits on Feb 12, 2019

  1. Verified

    This commit was signed with the committer’s verified signature.
    hyoban Stephen Zhou
    Copy the full SHA
    0622dc7 View commit details
  2. docs: improve (#66)

    evilebottnawi authored Feb 12, 2019
    Copy the full SHA
    062b267 View commit details
  3. Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    6519eb2 View commit details
  4. Copy the full SHA
    7fa759c View commit details

Commits on Mar 18, 2019

  1. Copy the full SHA
    3c7bf2c View commit details
  2. Copy the full SHA
    03933c7 View commit details
  3. chore(release): 2.0.0

    alexander-akait committed Mar 18, 2019
    Copy the full SHA
    35762bd View commit details

Commits on Jun 5, 2019

  1. chore(deps): update (#81)

    BREAKING CHANGE: minimum required nodejs version is `8.9.0`
    evilebottnawi authored Jun 5, 2019
    Copy the full SHA
    d11ff27 View commit details
  2. Copy the full SHA
    854d6c8 View commit details
  3. Copy the full SHA
    f5b6aa4 View commit details

Commits on Jul 11, 2019

  1. Copy the full SHA
    aebfd74 View commit details

Commits on Jul 18, 2019

  1. Copy the full SHA
    6cf76b8 View commit details
  2. chore(release): 3.1.0

    alexander-akait committed Jul 18, 2019
    Copy the full SHA
    d231710 View commit details

Commits on Nov 25, 2019

  1. refactor: next (#88)

    evilebottnawi authored Nov 25, 2019
    Copy the full SHA
    5ec82d6 View commit details
  2. chore(release): 4.0.0

    alexander-akait committed Nov 25, 2019
    Copy the full SHA
    e76476c View commit details

Commits on Apr 15, 2020

  1. Copy the full SHA
    21f0ca5 View commit details
  2. chore(release): 4.0.1

    alexander-akait committed Apr 15, 2020
    Copy the full SHA
    35a10f4 View commit details
Showing with 8,617 additions and 6,070 deletions.
  1. +0 −145 .circleci/config.yml
  2. +0 −1 .editorconfig
  3. +3 −1 .eslintignore
  4. +1 −8 .eslintrc.js
  5. +1 −0 .gitattributes
  6. +78 −42 .github/CONTRIBUTING.md
  7. +1 −0 .github/FUNDING.yml
  8. +10 −11 .github/ISSUE_TEMPLATE/BUG.md
  9. +1 −3 .github/ISSUE_TEMPLATE/DOCS.md
  10. +6 −9 .github/ISSUE_TEMPLATE/FEATURE.md
  11. +6 −12 .github/ISSUE_TEMPLATE/MODIFICATION.md
  12. +1 −2 .github/ISSUE_TEMPLATE/SUPPORT.md
  13. +1 −1 .github/PULL_REQUEST_TEMPLATE.md
  14. +91 −0 .github/workflows/nodejs.yml
  15. +1 −0 .gitignore
  16. +5 −0 .prettierignore
  17. +0 −5 .prettierrc
  18. +1 −0 .prettierrc.js
  19. +61 −2 CHANGELOG.md
  20. +60 −20 README.md
  21. +0 −42 appveyor.yml
  22. +19 −0 babel.config.js
  23. +3 −0 commitlint.config.js
  24. +6 −0 husky.config.js
  25. +0 −20 index.js
  26. +4 −0 lint-staged.config.js
  27. +0 −5 options.json
  28. +7,684 −5,544 package-lock.json
  29. +53 −68 package.json
  30. +3 −0 src/cjs.js
  31. +22 −0 src/index.js
  32. +9 −0 src/options.json
  33. +0 −8 test/__snapshots__/errors.test.js.snap
  34. +52 −0 test/__snapshots__/esModule-option.test.js.snap
  35. +65 −4 test/__snapshots__/loader.test.js.snap
  36. +54 −0 test/__snapshots__/validate-options.test.js.snap
  37. +12 −0 test/cjs.test.js
  38. +0 −18 test/errors.test.js
  39. +52 −0 test/esModule-option.test.js
  40. +0 −4 test/fixtures/basic.js
  41. +5 −0 test/fixtures/inline.js
  42. +0 −1 test/fixtures/separator.txt
  43. +5 −0 test/fixtures/simple.js
  44. +0 −84 test/helpers.js
  45. +11 −0 test/helpers/compile.js
  46. +22 −0 test/helpers/execute.js
  47. +45 −0 test/helpers/getCompiler.js
  48. +7 −0 test/helpers/index.js
  49. +19 −0 test/helpers/normalizeErrors.js
  50. +15 −0 test/helpers/readAsset.js
  51. +62 −10 test/loader.test.js
  52. +60 −0 test/validate-options.test.js
145 changes: 0 additions & 145 deletions .circleci/config.yml

This file was deleted.

1 change: 0 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -9,5 +9,4 @@ insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
insert_final_newline = false
trim_trailing_whitespace = false
4 changes: 3 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
/node_modules
/coverage
/dist
/node_modules
/test/fixtures
9 changes: 1 addition & 8 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
module.exports = {
root: true,
plugins: ['prettier'],
extends: ['@webpack-contrib/eslint-config-webpack'],
rules: {
'prettier/prettier': [
'error',
{ singleQuote: true, trailingComma: 'es5', arrowParens: 'always' },
],
},
extends: ['@webpack-contrib/eslint-config-webpack', 'prettier'],
};
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
package-lock.json -diff
* text=auto
bin/* eol=lf
yarn.lock -diff
120 changes: 78 additions & 42 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
## Contributing in @webpack-contrib
# Contributing in @webpack-contrib

We'd always love contributions to further improve the webpack / webpack-contrib ecosystem!
We'd always love contributions to further improve the webpack / webpack-contrib ecosystem!
Here are the guidelines we'd like you to follow:

* [Questions and Problems](#question)
* [Issues and Bugs](#issue)
* [Feature Requests](#feature)
* [Pull Request Submission Guidelines](#submit-pr)
* [Commit Message Conventions](#commit)
- [Questions and Problems](#question)
- [Issues and Bugs](#issue)
- [Feature Requests](#feature)
- [Pull Request Submission Guidelines](#submit-pr)
- [Commit Message Conventions](#commit)

### <a name="question"></a> Got a Question or Problem?
## <a name="question"></a> Got a Question or Problem?

Please submit support requests and questions to StackOverflow using the tag [[webpack]](http://stackoverflow.com/tags/webpack).
StackOverflow is better suited for this kind of support though you may also inquire in [Webpack Gitter](https://gitter.im/webpack/webpack).
Please submit support requests and questions to StackOverflow using the tag [[webpack]](http://stackoverflow.com/tags/webpack).
StackOverflow is better suited for this kind of support though you may also inquire in [Webpack Gitter](https://gitter.im/webpack/webpack).
The issue tracker is for bug reports and feature discussions.

### <a name="issue"></a> Found an Issue or Bug?
## <a name="issue"></a> Found an Issue or Bug?

Before you submit an issue, please search the issue tracker, maybe an issue for your problem already exists and the discussion might inform you of workarounds readily available.

@@ -31,13 +31,13 @@ We will be insisting on a minimal reproduce scenario in order to save maintainer

Unfortunately, we are not able to investigate / fix bugs without a minimal reproduction, so if we don't hear back from you we are going to close an issue that doesn't have enough info to be reproduced.

### <a name="feature"></a> Feature Requests?
## <a name="feature"></a> Feature Requests?

You can *request* a new feature by creating an issue on Github.
You can _request_ a new feature by creating an issue on Github.

If you would like to *implement* a new feature, please submit an issue with a proposal for your work `first`, to be sure that particular makes sense for the project.
If you would like to _implement_ a new feature, please submit an issue with a proposal for your work `first`, to be sure that particular makes sense for the project.

### <a name="submit-pr"></a> Pull Request Submission Guidelines
## <a name="submit-pr"></a> Pull Request Submission Guidelines

Before you submit your Pull Request (PR) consider the following guidelines:

@@ -46,9 +46,9 @@ Before you submit your Pull Request (PR) consider the following guidelines:
- Fill out our `Pull Request Template`. Your pull request will not be considered if it is ignored.
- Please sign the `Contributor License Agreement (CLA)` when a pull request is opened. We cannot accept your pull request without this. Make sure you sign with the primary email address associated with your local / github account.

### <a name="commit"></a> Webpack Contrib Commit Conventions
## <a name="commit"></a> Webpack Contrib Commit Conventions

Each commit message consists of a **header**, a **body** and a **footer**. The header has a special
Each commit message consists of a **header**, a **body** and a **footer**. The header has a special
format that includes a **type**, a **scope** and a **subject**:

```
@@ -66,48 +66,56 @@ to read on GitHub as well as in various git tools.

The footer should contain a [closing reference to an issue](https://help.github.com/articles/closing-issues-via-commit-messages/) if any.

Examples:
Examples:

```
docs(readme): update install instructions
```

```
fix: refer to the `entrypoint` instead of the first `module`
```

#### Revert
If the commit reverts a previous commit, it should begin with `revert: `, followed by the header of the reverted commit.
### Revert

If the commit reverts a previous commit, it should begin with `revert:`, followed by the header of the reverted commit.
In the body it should say: `This reverts commit <hash>.`, where the hash is the SHA of the commit being reverted.

#### Type
### Type

Must be one of the following:

* **build**: Changes that affect the build system or external dependencies (example scopes: babel, npm)
* **chore**: Changes that fall outside of build / docs that do not effect source code (example scopes: package, defaults)
* **ci**: Changes to our CI configuration files and scripts (example scopes: circleci, travis)
* **docs**: Documentation only changes (example scopes: readme, changelog)
* **feat**: A new feature
* **fix**: A bug fix
* **perf**: A code change that improves performance
* **refactor**: A code change that neither fixes a bug nor adds a feature
* **revert**: Used when reverting a committed change
* **style**: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons)
* **test**: Addition of or updates to Jest tests

#### Scope
- **build**: Changes that affect the build system or external dependencies (example scopes: babel, npm)
- **chore**: Changes that fall outside of build / docs that do not effect source code (example scopes: package, defaults)
- **ci**: Changes to our CI configuration files and scripts (example scopes: circleci, travis)
- **docs**: Documentation only changes (example scopes: readme, changelog)
- **feat**: A new feature
- **fix**: A bug fix
- **perf**: A code change that improves performance
- **refactor**: A code change that neither fixes a bug nor adds a feature
- **revert**: Used when reverting a committed change
- **style**: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons)
- **test**: Addition of or updates to Jest tests

### Scope

The scope is subjective & depends on the `type` see above. A good example would be a change to a particular class / module.

#### Subject
### Subject

The subject contains a succinct description of the change:

* use the imperative, present tense: "change" not "changed" nor "changes"
* don't capitalize the first letter
* no dot (.) at the end
- use the imperative, present tense: "change" not "changed" nor "changes"
- don't capitalize the first letter
- no dot (.) at the end

### Body

#### Body
Just as in the **subject**, use the imperative, present tense: "change" not "changed" nor "changes".
The body should include the motivation for the change and contrast this with previous behavior.

#### Footer
### Footer

The footer should contain any information about **Breaking Changes** and is also the place to
reference GitHub issues that this commit **Closes**.

@@ -116,9 +124,37 @@ reference GitHub issues that this commit **Closes**.
Example

```
BREAKING CHANGE: Updates to `Chunk.mapModules`.
BREAKING CHANGE: Updates to `Chunk.mapModules`.
This release is not backwards compatible with `Webpack 2.x` due to breaking changes in webpack/webpack#4764
Migration: see webpack/webpack#5225
```
```

## Testing Your Pull Request

You may have the need to test your changes in a real-world project or dependent
module. Thankfully, Github provides a means to do this. Add a dependency to the
`package.json` for such a project as follows:

```json
{
"devDependencies": {
"raw-loader": "webpack-contrib/raw-loader#{id}/head"
}
}
```

Where `{id}` is the # ID of your Pull Request.

## Contributor License Agreement

When submitting your contribution, a CLA (Contributor License Agreement) bot will come by to verify that you signed the [CLA](https://cla.js.foundation/webpack-contrib/raw-loader).
If it is your first time, it will link you to the right place to sign it.
However, if you have committed your contributions using an email that is not the same as your email used on GitHub, the CLA bot can't accept your contribution.

Run `git config user.email` to see your Git email, and verify it with [your GitHub email](https://github.com/settings/emails).

## Thanks

For your interest, time, understanding, and for following this simple guide.
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
open_collective: webpack
Loading