4
1
mirror of https://github.com/Qortal/qortal-ui.git synced 2025-02-12 02:05:51 +00:00
qortal-ui/core/tooling/watch-inlines.js
2023-05-11 18:40:52 +02:00

18 lines
412 B
JavaScript

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 => {
})
}
}
module.exports = watchInlines