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

13 lines
423 B
JavaScript
Raw Normal View History

2018-05-08 05:59:16 +00:00
const path = require('path');
const { getJSConfig, getCSSConfig } = require('frappejs/config/rollup');
2018-01-30 10:10:56 +00:00
module.exports = [
2018-05-08 05:59:16 +00:00
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'),
})
2018-01-30 10:10:56 +00:00
]