css-hot-loader
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -0,1 +1,5 @@ | ||
### 1.3.1 / 2017-09-04 | ||
- Use var instead of const for IE10 [#17](https://github.com/shepherdwind/css-hot-loader/pull/17) | ||
### 1.3.0 / 2017-07-03 | ||
@@ -2,0 +6,0 @@ |
@@ -16,3 +16,3 @@ const loaderUtils = require('loader-utils'); | ||
// ${Date.now()} | ||
const cssReload = require(${loaderUtils.stringifyRequest(this, require.resolve('./hotModuleReplacement'))})(module.id, ${JSON.stringify(options)}); | ||
var cssReload = require(${loaderUtils.stringifyRequest(this, require.resolve('./hotModuleReplacement'))})(module.id, ${JSON.stringify(options)}); | ||
module.hot.dispose(cssReload); | ||
@@ -19,0 +19,0 @@ module.hot.accept(undefined, cssReload); |
{ | ||
"name": "css-hot-loader", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "css hot reload work with extract-text-webpack-plugin", | ||
@@ -8,3 +8,5 @@ "main": "index.js", | ||
"pub": "npm version patch && npm publish && git push origin && git push origin --tags", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"cov": "jest --collectCoverageFrom='[\"*.js\"]' --coverage", | ||
"ci": "npm run cov && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js", | ||
"test": "jest" | ||
}, | ||
@@ -26,3 +28,8 @@ "files": [ | ||
"normalize-url": "^1.9.1" | ||
}, | ||
"devDependencies": { | ||
"coveralls": "^2.13.1", | ||
"jest": "^20.0.4", | ||
"strict-uri-encode": "^2.0.0" | ||
} | ||
} |
### CSS Hot Loader | ||
[![build status][travis-image]][travis-url] | ||
[![Test coverage][coveralls-image]][coveralls-url] | ||
[![NPM version][npm-image]][npm-url] | ||
@@ -10,2 +12,6 @@ [![npm download][download-image]][download-url] | ||
[download-url]: https://npmjs.org/package/css-hot-loader | ||
[travis-image]: https://img.shields.io/travis/shepherdwind/css-hot-loader.svg?style=flat-square | ||
[travis-url]: https://travis-ci.org/shepherdwind/css-hot-loader | ||
[coveralls-image]: https://img.shields.io/coveralls/shepherdwind/css-hot-loader.svg?style=flat-square | ||
[coveralls-url]: https://coveralls.io/r/shepherdwind/css-hot-loader?branch=master | ||
@@ -12,0 +18,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
9293
1
107
3