We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 742d229 commit 48072c4Copy full SHA for 48072c4
index.js
@@ -58,7 +58,7 @@ module.exports = ({negotiateProtocol}) => {
58
const {
59
extensions = ['ts'],
60
rewritePaths: relativeRewritePaths,
61
- compile: relativeCompile = true
+ compile = true
62
} = config;
63
64
const rewritePaths = Object.entries(relativeRewritePaths).map(([from, to]) => [
@@ -69,14 +69,14 @@ module.exports = ({negotiateProtocol}) => {
69
70
return {
71
async compile() {
72
- if (relativeCompile) {
+ if (compile) {
73
await compileTypeScript(protocol.projectDir);
74
}
75
76
77
extensions: extensions.slice(),
78
rewritePaths: rewritePaths.slice(),
79
- compile: relativeCompile
+ compile
80
};
81
},
82
0 commit comments