Skip to content

Commit

Permalink
Release 2.1.1 - Properly support older versions of node
Browse files Browse the repository at this point in the history
  • Loading branch information
mpratt committed May 30, 2017
1 parent fb1d636 commit aaef33f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
13 changes: 11 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
# Changelog

# 2017-5-30: 2.1.0
## 2017-5-30:
### 2.1.1

* Properly support older versions of node. Tested in:
* 4.8.3
* 5.11.1
* 6.10.3

### 2.1.0

* No longer will intercept what should be a standard Webpack "File not found" error.
* This also resolves the issue where the plugin wouldn't recognize when a file was added.
* Hardened tests.
* Cleaned up code and added an 'engines' config to package.json

# 2017-3-31: 2.0.0
## 2017-3-31:
### 2.0.0

* Use the compiler filesystem, which helps when other plugins change the 'fs' object being used by the compiler.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use strict";
/* This plugin based on https://gist.github.com/Morhaus/333579c2a5b4db644bd5
Original license:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "case-sensitive-paths-webpack-plugin",
"version": "2.1.0",
"version": "2.1.1",
"description": "Enforces module path case sensitivity in Webpack",
"engines": { "node": ">4.0" },
"main": "index.js",
Expand Down
4 changes: 3 additions & 1 deletion test/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"use strict";

let assert = require("assert");
let fs = require("fs-extra");
let path = require("path");
Expand All @@ -6,7 +8,7 @@ let webpack = require("webpack");

let CaseSensitivePathsPlugin = require("../");

function webpackCompilerAtDir(dir, otherOpts = {}) {
function webpackCompilerAtDir(dir, otherOpts) {
let opts = Object.assign({
context: path.join(__dirname, "fixtures", dir),
entry: "./entry",
Expand Down

0 comments on commit aaef33f

Please sign in to comment.