mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Remove unused webpack config
This commit is contained in:
@@ -1,36 +0,0 @@
|
||||
var path = require("path");
|
||||
var croot = path.resolve(__dirname, "../../../../");
|
||||
var webpack = require("webpack");
|
||||
var lroot = path.resolve(croot, "client/galaxy/scripts/libs");
|
||||
|
||||
module.exports = {
|
||||
entry: path.resolve(__dirname, "./src/scatterplot.js"),
|
||||
output: {
|
||||
path: path.resolve(__dirname, "static"),
|
||||
filename: "scatterplot.bundle.js"
|
||||
},
|
||||
resolve: {
|
||||
modules: [path.resolve(croot, "client/galaxy/scripts"), path.resolve(croot, "client/node_modules")],
|
||||
alias: {
|
||||
jquery: path.join(lroot, "jquery/jquery"),
|
||||
underscore: path.join(lroot, "underscore.js"),
|
||||
backbone: path.join(lroot, "backbone.js"),
|
||||
}
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.js$/,
|
||||
exclude: [/(node_modules|bower_components)/, lroot],
|
||||
loader: "babel-loader"
|
||||
}
|
||||
]
|
||||
},
|
||||
plugins: [
|
||||
new webpack.ProvidePlugin({
|
||||
jquery: "jquery",
|
||||
jQuery: "jquery",
|
||||
$: "jquery"
|
||||
})
|
||||
]
|
||||
};
|
||||
Reference in New Issue
Block a user