rage-framework/client/build.js
Oleksandr Honcharov 5064fb6347 refactor
2024-06-10 17:28:22 +03:00

17 lines
383 B
JavaScript

import { build } from 'esbuild'
import { umdWrapper } from 'esbuild-plugin-umd-wrapper'
build({
entryPoints: ['./src/index.ts'],
bundle: true,
format: 'umd',
platform: 'node',
outdir: './dist',
plugins: [
umdWrapper({
libraryName: 'fw',
}),
],
}).then(() => {
console.log('Successfully build. Executing types build...')
})