Skip to content

Commit

Permalink
Fix tsconfig.esm.json files
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben-Rey committed Oct 17, 2023
1 parent d5d4645 commit 082ecf6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
7 changes: 2 additions & 5 deletions packages/massa-web3/tsconfig.esm.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
{
// Extends base TypeScript configuration from 'tsconfig.json'
"extends": "./tsconfig.json",
"compilerOptions": {
// The location where the output files will be placed.
"target": "ESNext",
"module": "ESNext",
"outDir": "./dist/esm/",
// Source map options
"sourceMap": true,
"inlineSources": true
},
// A list of glob patterns that exclude certain files from the compilation.
// Here, it's set to exclude all the files in 'node_modules' and any file ending in '.spec.ts'.
"exclude": [
"node_modules",
"**/*.spec.ts"
Expand Down
10 changes: 8 additions & 2 deletions packages/web3-utils/tsconfig.esm.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
{
// Extends base TypeScript configuration from 'tsconfig.json'
"extends": "./tsconfig.json",
"compilerOptions": {
// The location where the output files will be placed.
"target": "ESNext",
"module": "ESNext",
"outDir": "./dist/esm/",
"sourceMap": true,
"inlineSources": true
},
"exclude": [
"node_modules",
"**/*.spec.ts"
]
}

0 comments on commit 082ecf6

Please sign in to comment.