Scatterplot overhaul progress. Should just need to fix bootstrap tooltip loading and it's good to go.

This commit is contained in:
Dannon Baker
2017-12-04 08:46:03 -05:00
parent b6509f402f
commit c23c2324bc
13 changed files with 893 additions and 760 deletions
@@ -0,0 +1,39 @@
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",
_: "underscore",
Backbone: "backbone",
})
]
};