UNPKG

interpolated-charts

Version:

Configurable d3 v4 charts with interpolation and missing data range

23 lines (21 loc) 532 B
var path = require('path'); var merge = require('webpack-merge'); var baseWebpackConfig = require('./webpack.config.js'); var HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = merge(baseWebpackConfig, { mode: 'development', entry: [ './demo/index.js' ], output: { filename: 'index.js', path: path.resolve(__dirname, '../demo/build'), publicPath: '/' }, plugins: [ new HtmlWebpackPlugin({ template: './demo/index.html', baseUrl: '/' }) ] })