Skip to content

Commit 04a9513

Browse files
committed
fixed module breaking on node 6
1 parent a99870f commit 04a9513

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function resolveFile(source, file, config) {
2828
const extensions = Object.keys(require.extensions).concat(
2929
'.ts',
3030
'.tsx',
31-
'.d.ts',
31+
'.d.ts'
3232
);
3333

3434
// setup tsconfig-paths
@@ -37,7 +37,7 @@ function resolveFile(source, file, config) {
3737
if (configLoaderResult.resultType === 'success') {
3838
const matchPath = tsconfigPaths.createMatchPath(
3939
configLoaderResult.absoluteBaseUrl,
40-
configLoaderResult.paths,
40+
configLoaderResult.paths
4141
);
4242

4343
// look for files based on setup tsconfig "paths"

prettier.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ module.exports = {
99
semi: true,
1010
singleQuote: true,
1111
tabWidth: 2,
12-
trailingComma: 'all',
12+
trailingComma: 'es5',
1313
useTabs: false,
1414
};

0 commit comments

Comments
 (0)