2
0
mirror of https://github.com/frappe/books.git synced 2024-11-13 00:46:28 +00:00
books/config/rollup.config.app.js
2018-03-26 17:48:07 +05:30

16 lines
445 B
JavaScript

module.exports = {
input: './www/index.js',
output: {
file: './www/dist/js/bundle.js',
format: 'iife',
name: 'desk',
globals: ['io', 'nunjucks'] // for socketio client, which is imported directly
},
plugins: [
require('rollup-plugin-commonjs')(),
require('rollup-plugin-json')(),
require('rollup-plugin-node-resolve')({
preferBuiltins: true
}),
],
}