StorageBase
This commit is contained in:
16
buildexample.js
Normal file
16
buildexample.js
Normal file
@@ -0,0 +1,16 @@
|
||||
const { build } = require('esbuild')
|
||||
|
||||
const define = {
|
||||
TOKEN: `"${process.argv[2]}"`,
|
||||
}
|
||||
|
||||
build({
|
||||
entryPoints: ['examples/main.ts'],
|
||||
outfile: 'examples/main.js',
|
||||
|
||||
target: 'es6',
|
||||
platform: 'node',
|
||||
format: 'cjs',
|
||||
|
||||
define,
|
||||
})
|
||||
Reference in New Issue
Block a user