Update to latest lit and some fixes

This commit is contained in:
AlphaX-Projects
2022-02-10 00:35:21 -08:00
committed by GitHub
parent a9c2314197
commit 18520ed90f
37 changed files with 110 additions and 299 deletions

View File

@@ -11,23 +11,15 @@ async function watch(options, outputs, outputOptions, inputOptions) {
}
}),
watch: {
// chokidar,
// clearScreen,
// exclude,
// include
}
}
const watcher = rollup.watch(watchOptions)
watcher.on('event', event => {
// ...
watcher.on('event', event => {.
})
}
async function writeBundle(bundle, outputOptions) {
await bundle.generate(outputOptions)
await bundle.write(outputOptions)
console.log('WATCH CORE ==> Write Bundle : Done 🎉');
}
@@ -36,7 +28,6 @@ async function buildInline(conf) {
const bundle = await rollup.rollup(conf.inputOptions).catch(err => {
throw err
})
await writeBundle(bundle, conf.outputOptions)
}