Skip to content

Commit c40dcbe

Browse files
author
Brenna Hewer-Darroch
committed
update ts-loader options
implements solution from github.com/cypress-io/cypress/issues/2316 Signed-off-by: Brenna Hewer-Darroch <brenna@chef.io>
1 parent 3a718a2 commit c40dcbe

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

e2e/cypress/plugins/cy-ts-preprocessor.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ const webpackOptions = {
1414
exclude: [/node_modules/],
1515
use: [
1616
{
17-
loader: 'ts-loader'
17+
loader: 'ts-loader',
18+
options: {
19+
transpileOnly: true
20+
}
1821
}
1922
]
2023
}

0 commit comments

Comments
 (0)