Skip to content

Commit 96a7cf7

Browse files
committed
Add markers to HTML files
1 parent 976d61e commit 96a7cf7

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

dev-helpers/index.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<!DOCTYPE html>
2+
<!-- HTML for hot dev server -->
23
<html lang="en">
34
<head>
45
<meta charset="UTF-8">
@@ -37,14 +38,15 @@
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

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<!DOCTYPE html>
2+
<!-- HTML for static distribution bundle build -->
23
<html lang="en">
34
<head>
45
<meta charset="UTF-8">

0 commit comments

Comments
 (0)