mirror of
https://github.com/frappe/books.git
synced 2025-01-10 18:24:40 +00:00
32cd6581d1
- /api/method/pdf - frappe.getPDF - download using blob url
18 lines
513 B
JavaScript
18 lines
513 B
JavaScript
module.exports = {
|
|
input: './www/index.js',
|
|
output: {
|
|
file: './www/dist/js/bundle.js',
|
|
format: 'iife',
|
|
name: 'desk',
|
|
sourcemap: true,
|
|
globals: ['io', 'nunjucks'], // for socketio client, which is imported directly,
|
|
},
|
|
plugins: [
|
|
require('rollup-plugin-commonjs')(),
|
|
require('rollup-plugin-json')(),
|
|
require('rollup-plugin-html')(),
|
|
require('rollup-plugin-node-resolve')({
|
|
preferBuiltins: true
|
|
}),
|
|
],
|
|
} |