mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix build; need to followup with bugfixes during freeze.
This commit is contained in:
+9
-1
@@ -10,7 +10,15 @@ const glob = require("glob");
|
||||
* un-built visualizations in the repository; for performance and
|
||||
* simplicity just add them one at a time until we upgrade older viz's.
|
||||
*/
|
||||
const PLUGIN_BUILD_DIRS = ["annotate_image", "hyphyvision", "openlayers", "chiraviz", "editor", "media_player", "mvpapp"];
|
||||
const PLUGIN_BUILD_DIRS = [
|
||||
"annotate_image",
|
||||
"chiraviz",
|
||||
"editor",
|
||||
"hyphyvision",
|
||||
"media_player",
|
||||
"mvpapp",
|
||||
"openlayers",
|
||||
];
|
||||
|
||||
const paths = {
|
||||
node_modules: "./node_modules",
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import "./css/jquery-ui.min.css";
|
||||
import "./css/lorikeet.css";
|
||||
import "./css/datatables.min.css";
|
||||
// TODO: this lumps in bootstrap3 styling; use manual styling.
|
||||
//import "./css/datatables.min.css";
|
||||
import "./css/msi.css";
|
||||
import "./css/app.css";
|
||||
import "./css/igv.css";
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,50 +1,49 @@
|
||||
const path = require('path');
|
||||
const path = require("path");
|
||||
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
|
||||
const CopyPlugin = require('copy-webpack-plugin');
|
||||
|
||||
const CopyPlugin = require("copy-webpack-plugin");
|
||||
|
||||
module.exports = {
|
||||
mode: "production",
|
||||
entry: "./src/index.js",
|
||||
output: {
|
||||
filename: "script.js",
|
||||
path: path.resolve(__dirname, "static/js")
|
||||
path: path.resolve(__dirname, "static/js"),
|
||||
},
|
||||
'target': 'web',
|
||||
target: "web",
|
||||
plugins: [
|
||||
new MiniCssExtractPlugin(),
|
||||
new CopyPlugin({
|
||||
patterns: [
|
||||
{from: 'src/css/images', to: 'images'},
|
||||
{from: 'src/images/lorikeet', to: 'images'},
|
||||
]
|
||||
{ from: "src/css/images", to: "images" },
|
||||
{ from: "src/images/lorikeet", to: "images" },
|
||||
],
|
||||
}),
|
||||
],
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.(png|svg|jpg|gif)$/,
|
||||
use: ['file-loader'],
|
||||
use: ["file-loader"],
|
||||
},
|
||||
{
|
||||
test: /\.css$/i,
|
||||
use: ['style-loader', 'css-loader'],
|
||||
use: ["style-loader", "css-loader"],
|
||||
},
|
||||
{
|
||||
test: /\.(woff|woff2)(\?v=\d+\.\d+\.\d+)?$/,
|
||||
loader: 'file-loader',
|
||||
loader: "file-loader",
|
||||
options: {
|
||||
outputPath: "static/js",
|
||||
},
|
||||
},
|
||||
{
|
||||
test: /\.ttf(\?v=\d+\.\d+\.\d+)?$/,
|
||||
use: ['file-loader'],
|
||||
use: ["file-loader"],
|
||||
},
|
||||
{test: /\.eot(\?v=\d+\.\d+\.\d+)?$/, loaders: "file-loader"},
|
||||
{ test: /\.eot(\?v=\d+\.\d+\.\d+)?$/, loaders: "file-loader" },
|
||||
],
|
||||
},
|
||||
performance: {
|
||||
hints: false
|
||||
}
|
||||
};
|
||||
hints: false,
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user