@jayjaydluffy/phil-reg-prov-mun-brgy
Version:
A Javascript library to get the regions, provinces, cities, municipalities and barangays in the Philippines
26 lines (22 loc) • 409 B
JavaScript
const path = require('path');
module.exports = {
entry: {
app: './src/js/app.js'
},
output: {
path: path.resolve(__dirname, 'build'),
filename: 'phil.min.js'
},
module: {
rules: [
{
test: /\.js$/,
exclude: { and: [/node_modules/, /index.js/] },
loader: 'babel-loader',
query: {
presets: ['@babel/env']
}
}
]
}
}