UNPKG

jspdf-invoice-template-nodejs

Version:

PDF template created for invoice with optional parameters (for NodeJs). Using jsPDF library.

26 lines (25 loc) 496 B
const path = require('path'); module.exports = { mode: 'production', entry: './src/index.js', output: { path: path.resolve('dist'), filename: 'index.js', library: "jsPDFInvoiceTemplate", libraryTarget: 'umd', globalObject: 'global', publicPath: '' }, module: { rules: [ { test: /\.js?$/, exclude: /(node_modules)/, use: 'babel-loader', }, ], }, resolve: { extensions: ['.js'], }, };