2
0
mirror of https://github.com/frappe/books.git synced 2024-12-23 11:29:03 +00:00
books/rollup.config.js
2018-05-08 11:29:16 +05:30

13 lines
423 B
JavaScript

const path = require('path');
const { getJSConfig, getCSSConfig } = require('frappejs/config/rollup');
module.exports = [
getJSConfig({
input: path.resolve(__dirname, 'www/index.js'),
output: path.resolve(__dirname, 'www/dist/js/bundle.js'),
}),
getCSSConfig({
input: path.resolve(__dirname, 'www/index.scss'),
output: path.resolve(__dirname, 'www/dist/css/style.css'),
})
]