shockey
7462d069cc
Maintain backwards compatibility with absolutePath
7 年之前
umar-ahmed
d743137491
Modified module export name for absolute path to match documentation in Readme.
7 年之前
Kyle Shockey
9b21b5c2de
Add try/catch for module asset require calls
7 年之前
Johann Wagner
ab960e8c45
don't use ES6 syntax in a dist package
using ES6 syntax will cause trouble unless you transpile before use (which is something you should not be required to do in a dist package)
7 年之前
Branko Pejić
01ae2f5605
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"
7 年之前
shockey
5f8ffb870c
Add function invocation to method example
7 年之前
Dylan
3311f3e95f
export getAbsoluteFSPath method instead of property
7 年之前
Dylan
df149c543b
make dist absolutePath browser-safe, add test
7 年之前
Dylan
d6d5b1d06e
add documentation of absolutePath as well as npm version badge
7 年之前
Dylan
234e6d5d57
add `absolutePath` to swagger-ui-dist
7 年之前
Roman Bolshakov
b23c999d01
packaging: fix swagger-ui-dist entry point
Entry point was missing. This change allows importing SwaggerUIBundle
and SwaggerUIStandalonePreset directly from package. Correct entry point
is also needed for module bundlers like webpack to perform tree-shaking.
7 年之前
shockey
6f6f76caf4
Update README.md
7 年之前
Kyle Shockey
b289d5992a
MOAR deploy fixes
7 年之前
Kyle Shockey
d6c498b5f3
Fix shell script error
7 年之前
Kyle Shockey
10b5c8ef8b
Remove build files after dist build
7 年之前
Kyle Shockey
e871871724
Add build setup for swagger-ui-dist
7 年之前