mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Swap back to standard webpack-cli based build.
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
const wpConfig = require("./webpack.config.js");
|
||||
const webpack = require("webpack");
|
||||
const compiler = webpack(wpConfig);
|
||||
compiler.run((err, stats) => {
|
||||
if (err){
|
||||
console.log(err);
|
||||
} else {
|
||||
console.log("HyphyVision built successfully.");
|
||||
}
|
||||
})
|
||||
@@ -4,7 +4,8 @@
|
||||
"file-loader": "^5.0.2",
|
||||
"mini-css-extract-plugin": "^0.9.0",
|
||||
"style-loader": "^1.1.3",
|
||||
"webpack": "^4.41.6"
|
||||
"webpack": "^4.41.6",
|
||||
"webpack-cli": "^3.3.11"
|
||||
},
|
||||
"dependencies": {
|
||||
"d3": "3.x",
|
||||
@@ -17,6 +18,6 @@
|
||||
"main": "index.js",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"build": "node build.js"
|
||||
"build": "webpack --mode production"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user