File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,11 @@ class Engine < ::Rails::Engine
5
5
config . to_prepare do
6
6
Rails . application . config . assets . precompile += %w(
7
7
swagger_ui_engine/swagger-ui.css
8
+ swagger_ui_engine/swagger-ui.css.map
8
9
swagger_ui_engine/swagger-ui-bundle.js
10
+ swagger_ui_engine/swagger-ui-bundle.js.map
9
11
swagger_ui_engine/swagger-ui-standalone-preset.js
12
+ swagger_ui_engine/swagger-ui-standalone-preset.js.map
10
13
swagger_ui_engine/favicon-32x32.png
11
14
swagger_ui_engine/favicon-16x16.png
12
15
)
Original file line number Diff line number Diff line change @@ -39,15 +39,15 @@ strip_trailing_whitespace() {
39
39
# ├── index.html
40
40
# ├── oauth2-redirect.html
41
41
# ├── swagger-ui-bundle.js
42
+ # ├── swagger-ui-bundle.js.map
42
43
# ├── swagger-ui-standalone-preset.js
44
+ # ├── swagger-ui-standalone-preset.js.map
43
45
# ├── swagger-ui.css
46
+ # ├── swagger-ui.css.map
44
47
# nodejs artifacts
45
- # ├── swagger-ui.js
46
48
# ├── absolute-path.js
47
49
# ├── index.js
48
- # ├── swagger-ui-bundle.js.map
49
- # ├── swagger-ui-standalone-preset.js.map
50
- # ├── swagger-ui.css.map
50
+ # ├── swagger-ui.js
51
51
# └── swagger-ui.js.map
52
52
53
53
# html
@@ -56,12 +56,15 @@ cp node_modules/swagger-ui-dist/index.html app/views/layouts/swagger.html.erb
56
56
57
57
# javascript
58
58
copy_asset /swagger-ui-bundle.js /javascripts/swagger_ui_engine/
59
+ copy_asset /swagger-ui-bundle.js.map /javascripts/swagger_ui_engine/
59
60
copy_asset /swagger-ui-standalone-preset.js /javascripts/swagger_ui_engine/
61
+ copy_asset /swagger-ui-standalone-preset.js.map /javascripts/swagger_ui_engine/
60
62
beautify_js /javascripts/swagger_ui_engine/swagger-ui-bundle.js
61
63
beautify_js /javascripts/swagger_ui_engine/swagger-ui-standalone-preset.js
62
64
63
65
# stylesheets
64
66
copy_asset /swagger-ui.css /stylesheets/swagger_ui_engine/swagger-ui.css.erb
67
+ copy_asset /swagger-ui.css /stylesheets/swagger_ui_engine/swagger-ui.css.map
65
68
beautify_css /stylesheets/swagger_ui_engine/swagger-ui.css.erb
66
69
67
70
# images
You can’t perform that action at this time.
0 commit comments