forked from AxisCommunications/media-stream-library-js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It seems that at least one package (`debug`) doesn't provide code transpiled to ES5 through node_modules. Since it by default imports from src/, a resolve alias is added to point to the dist/debug.js file instead. A new ES5 target is also added at `dist/es5`. closes: AxisCommunications#158
- Loading branch information
Showing
5 changed files
with
42 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"compilerOptions": { | ||
/* Include Typescript declaration files */ | ||
"declaration": true, | ||
|
||
/* Basic Options */ | ||
"target": "es5", | ||
"downlevelIteration": true, | ||
"module": "es2015", | ||
"outDir": "./dist/es5", | ||
"skipLibCheck": true, | ||
"sourceMap": true, | ||
|
||
/* Strict Type-Checking Options */ | ||
"strict": true, | ||
|
||
/* Module Resolution Options */ | ||
"moduleResolution": "node", | ||
"esModuleInterop": true | ||
}, | ||
"include": ["lib/**/*"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters