Skip to content

Commit 48072c4

Browse files
committed
Rename relativeCompile variable
1 parent 742d229 commit 48072c4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ module.exports = ({negotiateProtocol}) => {
5858
const {
5959
extensions = ['ts'],
6060
rewritePaths: relativeRewritePaths,
61-
compile: relativeCompile = true
61+
compile = true
6262
} = config;
6363

6464
const rewritePaths = Object.entries(relativeRewritePaths).map(([from, to]) => [
@@ -69,14 +69,14 @@ module.exports = ({negotiateProtocol}) => {
6969

7070
return {
7171
async compile() {
72-
if (relativeCompile) {
72+
if (compile) {
7373
await compileTypeScript(protocol.projectDir);
7474
}
7575

7676
return {
7777
extensions: extensions.slice(),
7878
rewritePaths: rewritePaths.slice(),
79-
compile: relativeCompile
79+
compile
8080
};
8181
},
8282

0 commit comments

Comments
 (0)