4
1
mirror of https://github.com/Qortal/qortal-ui.git synced 2025-02-11 17:55:51 +00:00
qortal-ui/core/tooling/watch-inlines.js

17 lines
338 B
JavaScript
Raw Normal View History

2021-12-25 14:39:47 +01:00
const rollup = require('rollup')
async function watchInlines(inlineConfigs) {
for (const conf of inlineConfigs) {
const watchOptions = {
...conf.inputOptions,
output: [conf.outputOptions],
watch: {
}
}
const watcher = rollup.watch(watchOptions)
watcher.on('event', event => {
})
}
2021-12-25 14:39:47 +01:00
}
module.exports = watchInlines