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": [