mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-11-03 06:07:51 +00:00
Redsign qortal-ui repo
This commit is contained in:
17
core/tooling/watch-inlines.js
Normal file
17
core/tooling/watch-inlines.js
Normal file
@@ -0,0 +1,17 @@
|
||||
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
|
||||
Reference in New Issue
Block a user