File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 11<!DOCTYPE html>
2+ <!-- HTML for hot dev server -->
23< html lang ="en ">
34< head >
45 < meta charset ="UTF-8 ">
3738 }
3839
3940 </ style >
40- < link href ="./dist/ swagger-editor.css " rel ="stylesheet ">
41+ < link href ="./swagger-editor.css " rel ="stylesheet ">
4142</ head >
4243
4344< body >
4445 < div id ="swagger-editor "> </ div >
4546
46- < script src ="./dist/swagger-editor-bundle.js "> </ script >
47- < script src ="./dist/swagger-editor-standalone-preset.js "> </ script >
47+ <!-- ./dist/* is just the dist folder.. assets on the root have HMR injected -->
48+ < script src ="./swagger-editor-bundle.js "> </ script >
49+ < script src ="./swagger-editor-standalone-preset.js "> </ script >
4850 < script >
4951 window . onload = function ( ) {
5052 // Webpack outputs library variables with file-names-like-this
Original file line number Diff line number Diff line change 11<!DOCTYPE html>
2+ <!-- HTML for static distribution bundle build -->
23< html lang ="en ">
34< head >
45 < meta charset ="UTF-8 ">
You can’t perform that action at this time.
0 commit comments