Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

css-hot-loader

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-hot-loader - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

5

History.md

@@ -0,1 +1,5 @@

### 1.1.1 / 2017-05-18
- Use loaderUtils.stringifyRequest to fix error path on windows [!6](https://github.com/shepherdwind/css-hot-loader/pull/6) by @dannsam
### 1.1.0 / 2017-05-14

@@ -8,2 +12,3 @@

- IE11 compatibility [!2](https://github.com/shepherdwind/css-hot-loader/pull/2)
by @extronics

@@ -10,0 +15,0 @@ ### 1.0.2 / 2017-04-05

2

loader.js

@@ -16,3 +16,3 @@ const loaderUtils = require('loader-utils');

// ${Date.now()}
const cssReload = require('${require.resolve('./hotModuleReplacement')}')(${JSON.stringify(options)});
const cssReload = require(${loaderUtils.stringifyRequest(this, require.resolve('./hotModuleReplacement'))})(${JSON.stringify(options)});
module.hot.dispose(cssReload);

@@ -19,0 +19,0 @@ module.hot.accept(undefined, cssReload);

{
"name": "css-hot-loader",
"version": "1.1.0",
"version": "1.1.1",
"description": "css hot reload work with extract-text-webpack-plugin",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -72,3 +72,3 @@ ### CSS Hot Loader

Option to define you css file reload rule.
Option to define you css file reload rule. Since 1.1.0 .

@@ -75,0 +75,0 @@ For example `'css-hot-loader?fileMap='../css/{fileName}'` , which mean

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc