Skip to content
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/postcss-loader
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.1.1
Choose a base ref
...
head repository: webpack-contrib/postcss-loader
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.1.2
Choose a head ref
  • 3 commits
  • 4 files changed
  • 3 contributors

Commits on Mar 16, 2018

  1. Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    1e0cade View commit details

Commits on Mar 17, 2018

  1. 1
    Copy the full SHA
    82ef553 View commit details
  2. Copy the full SHA
    0c2259b View commit details
Showing with 16 additions and 3 deletions.
  1. +10 −0 CHANGELOG.md
  2. +1 −1 README.md
  3. +4 −1 lib/options.json
  4. +1 −1 package.json
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,16 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

<a name="2.1.2"></a>
## [2.1.2](https://github.com/postcss/postcss-loader/compare/v2.1.1...v2.1.2) (2018-03-17)


### Bug Fixes

* **options:** disallow additional properties and add `ident` to validation ([#346](https://github.com/postcss/postcss-loader/issues/346)) ([82ef553](https://github.com/postcss/postcss-loader/commit/82ef553))



<a name="2.1.1"></a>
## [2.1.1](https://github.com/postcss/postcss-loader/compare/v2.1.0...v2.1.1) (2018-02-26)

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -175,7 +175,7 @@ module.exports = ({ file, options, env }) => ({
plugins: {
'postcss-import': { root: file.dirname },
'postcss-cssnext': options.cssnext ? options.cssnext : false,
'autoprefixer': env == 'production' ? options.autoprefixer : false,
'autoprefixer': env === 'production' ? options.autoprefixer : false,
'cssnano': env === 'production' ? options.cssnano : false
}
})
5 changes: 4 additions & 1 deletion lib/options.json
Original file line number Diff line number Diff line change
@@ -16,6 +16,9 @@
"exec": {
"type": "boolean"
},
"ident": {
"type": "string"
},
"parser": {
"type": [ "string", "object" ]
},
@@ -36,5 +39,5 @@
"type": [ "string", "boolean" ]
}
},
"additionalProperties": true
"additionalProperties": false
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "postcss-loader",
"version": "2.1.1",
"version": "2.1.2",
"description": "PostCSS loader for webpack",
"main": "lib/index.js",
"engines": {