0.0.6 • Published 3 years ago
@oxidental/ox-task-js v0.0.6
ox-task-js
ox-task-js is a task that compiles scss using esbuild under the hood.
Example:
ox._add(js)
ox.js({
log: true,
watch: 'src/app.js',
options: {
files: [{
entryPoints: ['src/app.js'],
bundle: true,
minify: true,
sourcemap: true,
logLevel: 'debug',
outfile: 'build/app.js',
callback: () => {
// The file was compiled !
}
}]
}
})