Skip to content

Commit

Permalink
Merge pull request #16 from alexmt/fix/redoc-local
Browse files Browse the repository at this point in the history
refactor: dynamically copy redoc.standalone.js from npm module
  • Loading branch information
jannfis authored Oct 19, 2020
2 parents 9c03ef7 + c4a15dd commit 13b7fd3
Show file tree
Hide file tree
Showing 4 changed files with 539 additions and 114 deletions.
1 change: 1 addition & 0 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"react-router": "^4.3.1",
"react-router-dom": "^4.2.2",
"react-svg-piechart": "^2.1.1",
"redoc": "^2.0.0-rc.40",
"sass-loader": "^6.0.6",
"source-map-loader": "^0.2.3",
"style-loader": "^0.20.1",
Expand Down
2 changes: 2 additions & 0 deletions ui/src/app/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ const config = {
from: 'node_modules/argo-ui/src/assets', to: 'assets'
}, {
from: 'node_modules/@fortawesome/fontawesome-free/webfonts', to: 'assets/fonts'
}, {
from: 'node_modules/redoc/bundles/redoc.standalone.js', to: 'assets/scripts/redoc.standalone.js'
}]
}),
new MonacoWebpackPlugin(),
Expand Down
110 changes: 0 additions & 110 deletions ui/src/assets/scripts/redoc.standalone.js

This file was deleted.

Loading

0 comments on commit 13b7fd3

Please sign in to comment.