Skip to content

Commit

Permalink
chore(build): add bank and factory to build config
Browse files Browse the repository at this point in the history
  • Loading branch information
Jovonni committed Feb 21, 2025
1 parent e68ed11 commit c77806b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion templates/hyperweb/scripts/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,19 @@ const configs: BuildConfig[] = [
},
{
entryFile: 'src/simple-state/index.ts',
outFile: 'dist/contracts/simpleState.js',
outFile: 'dist/contracts/simple-state.js',
externalPackages: ['otherpackage', '~somepackage']
},
{
entryFile: 'src/bank/index.ts',
outFile: 'dist/contracts/bank.js',
externalPackages: ['@hyperweb/bank']
},
{
entryFile: 'src/token-factory/index.ts',
outFile: 'dist/contracts/token-factory.js',
externalPackages: ['@hyperweb/bank', '@hyperweb/token']
},
];

const rootDir = join(__dirname, '/../');
Expand Down

0 comments on commit c77806b

Please sign in to comment.