xeira
Version:
One Web Dev stack tool to rule them all
27 lines (18 loc) • 551 B
JavaScript
/**
* Copyright (c) 2022-present, afialapis.com
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import { devWithNollup } from './nollup/index.mjs'
import { devWithRollup } from './rollup/index.mjs'
async function xeiraDev(context, callback) {
const devserver= context.getDevServer()
if (devserver=='nollup') {
await devWithNollup(context, callback)
} else {
await devWithRollup(context, callback)
}
}
export default xeiraDev