Skip to content

Commit

Permalink
move contract created to dist/contracts dir (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol1696 authored Oct 2, 2024
1 parent 3c88e77 commit 7595c97
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 40 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
**/node_modules/
**/.DS_Store
**/dist
**/yarn-error.log
lerna-debug.log
File renamed without changes.
28 changes: 0 additions & 28 deletions contracts/contract1.js

This file was deleted.

7 changes: 0 additions & 7 deletions contracts/contract1.js.map

This file was deleted.

File renamed without changes.
2 changes: 1 addition & 1 deletion contracts/bundle1.js.map → dist/contracts/bundle1.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
2 changes: 1 addition & 1 deletion contracts/bundle2.js.map → dist/contracts/bundle2.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions scripts/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ interface BuildConfig {
const configs: BuildConfig[] = [
{
entryFile: 'src/contract1/index.ts',
outFile: 'contracts/bundle1.js',
outFile: 'dist/contracts/bundle1.js',
externalPackages: ['otherpackage', '~somepackage']
},
{
entryFile: 'src/contract2/index.ts',
outFile: 'contracts/bundle2.js',
outFile: 'dist/contracts/bundle2.js',
externalPackages: ['differentpackage']
}
];
Expand Down

0 comments on commit 7595c97

Please sign in to comment.