@webdiscus/pug-loader
Advanced tools
Comparing version 2.7.1 to 2.7.2
# Change log | ||
## 2.7.2 (2022-07-03) | ||
- fix: issue HMR on Windows | ||
## 2.7.1 (2022-07-03) | ||
@@ -4,0 +7,0 @@ - fix: remove unused module |
{ | ||
"name": "@webdiscus/pug-loader", | ||
"version": "2.7.1", | ||
"version": "2.7.2", | ||
"description": "Pug loader renders Pug files into HTML or compiles them into a template function.", | ||
@@ -83,3 +83,3 @@ "keywords": [ | ||
"prismjs": "^1.28.0", | ||
"pug-plugin": "^2.8.0", | ||
"pug-plugin": "^2.9.1", | ||
"responsive-loader": "^3.0.4", | ||
@@ -86,0 +86,0 @@ "rimraf": "^3.0.2", |
@@ -13,7 +13,8 @@ /** | ||
const { merge } = require('webpack-merge'); | ||
const { getQueryData, injectExternalData } = require('./utils'); | ||
const { getQueryData, injectExternalData, isWin, pathToPosix } = require('./utils'); | ||
const { executeTemplateFunctionException } = require('./exeptions'); | ||
const scriptTagQuery = '?isScript'; | ||
const hmrRequest = path.join(__dirname, './hmr.js') + scriptTagQuery; | ||
let hmrRequest = path.join(__dirname, 'hmr.js') + scriptTagQuery; | ||
if (isWin) hmrRequest = pathToPosix(hmrRequest); | ||
@@ -20,0 +21,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
110275
1707