2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 07:40:55 +00:00
books/config/rollup.config.app.js

16 lines
445 B
JavaScript
Raw Normal View History

2018-01-30 12:03:04 +00:00
module.exports = {
2018-03-26 12:18:07 +00:00
input: './www/index.js',
2018-02-21 09:43:21 +00:00
output: {
2018-03-26 12:18:07 +00:00
file: './www/dist/js/bundle.js',
2018-02-21 09:43:21 +00:00
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
}),
],
2018-02-19 16:41:10 +00:00
}