Skip to content

Commit

Permalink
Misc cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed Feb 17, 2020
1 parent f5e3bfe commit 6117458
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -176,3 +176,5 @@ packages/*/*.egg-info

# Plugin build artifacts -- TODO make this more generic as a part of the standard plugin interface
config/plugins/visualizations/**/static/script.js
# TODO: Really need to follow up on this and make it standard.
config/plugins/visualizations/**/static/main.css
4 changes: 1 addition & 3 deletions config/plugins/visualizations/hyphyvision/src/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import "hyphy-vision/dist/hyphyvision.css"
//import hyphyVision from "hyphy-vision";
const hyphyVision = require('hyphy-vision');
console.debug(hyphyVision);
import * as hyphyVision from "hyphy-vision";
window.renderHyPhyVision = hyphyVision.renderHyPhyVision;
window.render_branch_selection = hyphyVision.render_branch_selection;
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<title>HyPhy-Result</title>

${h.stylesheet_link( app_root + 'main.css' )}
${h.javascript_link( app_root + 'bundle.js' )}
${h.javascript_link( app_root + 'script.js' )}
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/v4-shims.css">
</head>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const MiniCssExtractPlugin = require("mini-css-extract-plugin");
module.exports = {
entry: path.resolve(__dirname, "src/index.js"),
output: {
filename: "bundle.js",
filename: "script.js",
path: path.resolve(__dirname, "static")
},
plugins: [
Expand Down

0 comments on commit 6117458

Please sign in to comment.