From d3c2b75e7de87a16a6ca1b80b6e6a8fc6142ddd7 Mon Sep 17 00:00:00 2001 From: simon Date: Thu, 14 Oct 2021 09:35:45 +0200 Subject: [PATCH] fix: windows support --- lib/module.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/module.js b/lib/module.js index 14fb2d9..accfb19 100755 --- a/lib/module.js +++ b/lib/module.js @@ -45,7 +45,7 @@ function axiosModule (_moduleOptions) { this.extendBuild((config, { isClient }) => { if (isClient) { config.module.rules.push({ - test: /node_modules\/https-proxy-agent\//, + test: /node_modules[\\/]https-proxy-agent[\\/]/, use: require.resolve('null-loader') }) } diff --git a/package.json b/package.json index d585deb..39e97dd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hokify/nuxt-haxios-module", - "version": "1.1.4", + "version": "1.1.5", "description": "Secure and easy Haxios integration with Nuxt.js", "license": "MIT", "contributors": [