From 01ae2f560537b399d1733c3f05ca3aee7035f4c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branko=20Peji=C4=87?= Date: Sat, 17 Jun 2017 14:39:32 +0200 Subject: [PATCH] Fix wrong path to absolute-path.js Path should be "./absolute-path.js" not "./.absolute-path.js". This caused webpack to throw an error "/node-modules/swagger-ui-dist/.absolute-path.js doesn't exist" --- swagger-ui-dist-package/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/swagger-ui-dist-package/index.js b/swagger-ui-dist-package/index.js index 018196a9..f97c1c4d 100644 --- a/swagger-ui-dist-package/index.js +++ b/swagger-ui-dist-package/index.js @@ -1,4 +1,3 @@ module.exports.SwaggerUIBundle = require("./swagger-ui-bundle.js") module.exports.SwaggerUIStandalonePreset = require("./swagger-ui-standalone-preset.js") -module.exports.absolutePath = require("./.absolute-path.js") - +module.exports.absolutePath = require("./absolute-path.js")