forked from tornadocash/tornado-cli
Compare commits
3 Commits
a5b87ccf74
...
65b670d0dd
Author | SHA1 | Date | |
---|---|---|---|
65b670d0dd | |||
5dc2b230ba | |||
8a0bd4a0d6 |
319914
dist/cli.js
vendored
319914
dist/cli.js
vendored
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "tornado-cli",
|
||||
"version": "1.0.2-alpha",
|
||||
"version": "1.0.3-alpha",
|
||||
"description": "Modern Toolsets for Privacy Pools on Ethereum",
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.mjs",
|
||||
|
@ -55,28 +55,6 @@ const config = [
|
||||
json()
|
||||
],
|
||||
},
|
||||
{
|
||||
input: 'src/cli.ts',
|
||||
output: [
|
||||
{
|
||||
file: pkgJson.bin[pkgJson.name],
|
||||
format: "cjs",
|
||||
esModule: false,
|
||||
banner: '#!/usr/bin/env node\n'
|
||||
},
|
||||
],
|
||||
plugins: [
|
||||
esbuild({
|
||||
include: /\.[jt]sx?$/,
|
||||
minify: false,
|
||||
sourceMap: true,
|
||||
target: 'es2016',
|
||||
}),
|
||||
commonjs(),
|
||||
nodeResolve(),
|
||||
json()
|
||||
],
|
||||
},
|
||||
{
|
||||
input: 'src/merkleTreeWorker.ts',
|
||||
output: [
|
||||
|
@ -53,6 +53,26 @@ module.exports = [
|
||||
minimize: false,
|
||||
}
|
||||
},
|
||||
{
|
||||
mode: 'production',
|
||||
module: {
|
||||
rules: [esbuildLoader]
|
||||
},
|
||||
entry: './src/cli.ts',
|
||||
output: {
|
||||
filename: 'cli.js',
|
||||
path: path.resolve(__dirname, './dist'),
|
||||
},
|
||||
target: 'node',
|
||||
plugins: [],
|
||||
resolve: {
|
||||
extensions: ['.tsx', '.ts', '.js'],
|
||||
alias: {}
|
||||
},
|
||||
optimization: {
|
||||
minimize: false,
|
||||
}
|
||||
},
|
||||
{
|
||||
mode: 'production',
|
||||
module: {
|
||||
|
Loading…
Reference in New Issue
Block a user