react-pr-map
Version:
SVG Map React Component of Puerto Rico
24 lines (21 loc) • 407 B
JavaScript
var path = require('path');
module.exports = {
entry: './PRMap.js',
output: {
library: 'PRMap.js',
libraryTarget: 'umd',
path: path.resolve(__dirname, 'dist'),
filename: 'react-pr-map.js'
},
module: {
loaders: [
{
test: /\.js/,
exclude: /node_modules/,
loaders: [
'babel-loader?optional[]=runtime&stage=0'
]
}
]
}
};