Skip to content

Commit 01ae2f5

Browse files
author
Branko Pejić
authored
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"
1 parent ebe9f9b commit 01ae2f5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

swagger-ui-dist-package/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
module.exports.SwaggerUIBundle = require("./swagger-ui-bundle.js")
22
module.exports.SwaggerUIStandalonePreset = require("./swagger-ui-standalone-preset.js")
3-
module.exports.absolutePath = require("./.absolute-path.js")
4-
3+
module.exports.absolutePath = require("./absolute-path.js")

0 commit comments

Comments
 (0)