Browse Source

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"
bubble
Branko Pejić 7 years ago
committed by GitHub
parent
commit
01ae2f5605
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      swagger-ui-dist-package/index.js

+ 1
- 2
swagger-ui-dist-package/index.js View File

@@ -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")

Loading…
Cancel
Save