Minor updates #1

Closed
tornadocontrib wants to merge 67 commits from tornadocontrib/tornado-core:main into main
5 changed files with 34799 additions and 1 deletions
Showing only changes of commit b9f891644d - Show all commits

1
dist/contracts.d.ts vendored Normal file
View File

@ -0,0 +1 @@
export * from '@tornado/contracts';

34748
dist/tornadoContracts.umd.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/tornadoContracts.umd.min.js vendored Normal file

File diff suppressed because one or more lines are too long

1
src/contracts.ts Normal file
View File

@ -0,0 +1 @@
export * from '@tornado/contracts';

View File

@ -122,5 +122,52 @@ module.exports = [
...commonAlias,
}
},
}
},
{
mode: 'production',
module: {
rules: [esbuildLoader]
},
entry: './src/contracts.ts',
output: {
filename: 'tornadoContracts.umd.js',
path: path.resolve(__dirname, './dist'),
library: 'TornadoContracts',
libraryTarget: 'umd'
},
plugins: [
new NodePolyfillPlugin(),
],
resolve: {
extensions: ['.tsx', '.ts', '.js'],
alias: {
...commonAlias,
}
},
optimization: {
minimize: false,
}
},
{
mode: 'production',
module: {
rules: [esbuildLoader]
},
entry: './src/contracts.ts',
output: {
filename: 'tornadoContracts.umd.min.js',
path: path.resolve(__dirname, './dist'),
library: 'TornadoContracts',
libraryTarget: 'umd'
},
plugins: [
new NodePolyfillPlugin(),
],
resolve: {
extensions: ['.tsx', '.ts', '.js'],
alias: {
...commonAlias,
}
},
},
];