From 109316a178910cca70db606a258fa1f5f9958c2a Mon Sep 17 00:00:00 2001 From: Eylon Malin Date: Wed, 1 Jan 2020 15:17:45 +0200 Subject: cypress test - adding option transpileOnly: true See https://github.com/cypress-io/cypress/issues/2316#issuecomment-431725314 Issue-ID: VID-732 Signed-off-by: Eylon Malin Change-Id: I2aa21c1ef092b5caf5753402555e8e2eb19132b4 --- vid-webpack-master/cypress/plugins/cy-ts-preprocessor.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'vid-webpack-master/cypress') diff --git a/vid-webpack-master/cypress/plugins/cy-ts-preprocessor.js b/vid-webpack-master/cypress/plugins/cy-ts-preprocessor.js index 7f0bba98c..3d56c2049 100644 --- a/vid-webpack-master/cypress/plugins/cy-ts-preprocessor.js +++ b/vid-webpack-master/cypress/plugins/cy-ts-preprocessor.js @@ -11,7 +11,10 @@ const webpackOptions = { exclude: [/node_modules/], use: [ { - loader: 'ts-loader' + loader: 'ts-loader', + options: { + transpileOnly: true + } } ] } -- cgit 1.2.3-korg