update
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
// @ts-ignore
|
||||
import pkg from './package.json';
|
||||
// bun run src/index.ts --
|
||||
const external = ['bun'];
|
||||
await Bun.build({
|
||||
target: 'node',
|
||||
format: 'esm',
|
||||
@@ -11,9 +12,8 @@ await Bun.build({
|
||||
naming: {
|
||||
entry: 'envision.js',
|
||||
},
|
||||
|
||||
external: external,
|
||||
define: {
|
||||
ENVISION_VERSION: JSON.stringify(pkg.version),
|
||||
},
|
||||
env: 'ENVISION_*',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user