svgchrt
Version:
A way to easily create SVG-based charts without having to worry about positioning of titles, subtitles or legends.
28 lines (26 loc) • 471 B
JavaScript
const path = require('path');
module.exports = {
devtool : 'inline-source-map',
entry : './dev/src/index.ts',
module : {
rules : [
{
test : /\.tsx?$/,
use : 'ts-loader'
}
]
},
output : {
filename : 'index.js',
library : 'SVGChrt',
libraryTarget : 'var',
path : path.resolve(__dirname, 'dist')
},
resolve : {
extensions : [
'.tsx',
'.ts',
'.js'
]
}
};