UNPKG

germs

Version:

an opinionated build toolset that is dead-simple so you can focus on writing code

25 lines (21 loc) 431 B
const pkg = require(`../package.json`) const germs = require(`../lib/index`) const {bundle} = germs const external = ( pkg && pkg.dependencies ? Object.keys(pkg.dependencies) : [] ).concat(`path`) module.exports = bundle({ name: pkg.name, alias: { [`@testing`]: `./testing`, [`@tools`]: `./tools` }, external, input: `src/index.js`, output: { file: `./${pkg.name}.js`, format: `cjs` } })