Compare commits
No commits in common. "65b670d0dd5261aee9e866dcbff87ad436614f12" and "a5b87ccf745980ab1e06cdf7d67a542601600c6d" have entirely different histories.
65b670d0dd
...
a5b87ccf74
374402
dist/cli.js
vendored
374402
dist/cli.js
vendored
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "tornado-cli",
|
"name": "tornado-cli",
|
||||||
"version": "1.0.3-alpha",
|
"version": "1.0.2-alpha",
|
||||||
"description": "Modern Toolsets for Privacy Pools on Ethereum",
|
"description": "Modern Toolsets for Privacy Pools on Ethereum",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"module": "./dist/index.mjs",
|
"module": "./dist/index.mjs",
|
||||||
|
@ -55,6 +55,28 @@ const config = [
|
|||||||
json()
|
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',
|
input: 'src/merkleTreeWorker.ts',
|
||||||
output: [
|
output: [
|
||||||
|
@ -53,26 +53,6 @@ module.exports = [
|
|||||||
minimize: false,
|
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',
|
mode: 'production',
|
||||||
module: {
|
module: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user