d3act
Version:
Visualising data using d3 with React.js
24 lines (22 loc) • 465 B
JavaScript
var path = require("path");
var webpack = require("webpack");
module.exports = {
cache: true,
entry: {
app: "./examples/app.jsx"
},
output: {
path: path.join(__dirname),
publicPath: "/",
filename: "[name].js",
chunkFilename: "[chunkhash].js"
},
module: {
loaders: [
{
test: /\.jsx$/,
loader: "babel-loader?stage=0"
}
]
}
};