Skip to content

Commit aaef33f

Browse files
author
mpratt
committed
Release 2.1.1 - Properly support older versions of node
1 parent fb1d636 commit aaef33f

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

CHANGELOG.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
11
# Changelog
22

3-
# 2017-5-30: 2.1.0
3+
## 2017-5-30:
4+
### 2.1.1
5+
6+
* Properly support older versions of node. Tested in:
7+
* 4.8.3
8+
* 5.11.1
9+
* 6.10.3
10+
11+
### 2.1.0
412

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

10-
# 2017-3-31: 2.0.0
18+
## 2017-3-31:
19+
### 2.0.0
1120

1221
* Use the compiler filesystem, which helps when other plugins change the 'fs' object being used by the compiler.

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
"use strict";
12
/* This plugin based on https://gist.github.com/Morhaus/333579c2a5b4db644bd5
23
34
Original license:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "case-sensitive-paths-webpack-plugin",
3-
"version": "2.1.0",
3+
"version": "2.1.1",
44
"description": "Enforces module path case sensitivity in Webpack",
55
"engines": { "node": ">4.0" },
66
"main": "index.js",

test/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
"use strict";
2+
13
let assert = require("assert");
24
let fs = require("fs-extra");
35
let path = require("path");
@@ -6,7 +8,7 @@ let webpack = require("webpack");
68

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

9-
function webpackCompilerAtDir(dir, otherOpts = {}) {
11+
function webpackCompilerAtDir(dir, otherOpts) {
1012
let opts = Object.assign({
1113
context: path.join(__dirname, "fixtures", dir),
1214
entry: "./entry",

0 commit comments

Comments
 (0)