UNPKG

replace-last

Version:

JavaScript replaceLast function - Replaces last match for pattern in string with replacement

15 lines (12 loc) 257 B
'use strict'; const _ = require('lodash'); const pkg = require('./package.json'); const library = _.camelCase(pkg.name); module.exports = { entry: './index.js', output: { path: __dirname, filename: library + '.js', library: library } };