You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// NOTE: these types are duplicated from @cypress/webpack-preprocessor as we are unable to currently export them from the main entry.
13
+
interfaceFileEventextendsEventEmitter{
14
+
filePath: string
15
+
outputPath: string
16
+
shouldWatch: boolean
17
+
}
18
+
11
19
classTsConfigNotFoundErrorextendsError{
12
20
constructor(){
13
21
super('No tsconfig.json found. ts-loader needs a tsconfig.json file to work. Please add one to your project in either the root or the cypress directory.')
@@ -24,17 +32,20 @@ class TypeScriptNotFoundError extends Error {
returnPromise.reject(newError(`You are attempting to run a TypeScript file, but do not have TypeScript installed. Ensure you have 'typescript' installed to enable TypeScript support.\n\nThe file: ${file.filePath}`))
Copy file name to clipboardExpand all lines: npm/webpack-batteries-included-preprocessor/package.json
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3,9 +3,13 @@
3
3
"version": "0.0.0-development",
4
4
"description": "Cypress preprocessor for bundling JavaScript via webpack with dependencies included and support for various ES features, TypeScript, and CoffeeScript",
0 commit comments