mirror of
https://github.com/frappe/books.git
synced 2024-11-08 23:00:56 +00:00
Update rollup config
This commit is contained in:
parent
69f1deb6de
commit
8e2a44bb89
@ -1,4 +1,13 @@
|
||||
const path = require('path');
|
||||
const { getJSConfig, getCSSConfig } = require('frappejs/config/rollup');
|
||||
|
||||
module.exports = [
|
||||
require('frappejs/config/rollup.config.style.js'),
|
||||
require('frappejs/config/rollup.config.app.js')
|
||||
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'),
|
||||
})
|
||||
]
|
1
www/index.scss
Normal file
1
www/index.scss
Normal file
@ -0,0 +1 @@
|
||||
@import "node_modules/frappejs/client/style/style.scss";
|
Loading…
Reference in New Issue
Block a user