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
{{ message }}
This repository was archived by the owner on Oct 1, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+16-1Lines changed: 16 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,6 +75,7 @@ Object of webpack options. Just `require` in the options from your `webpack.conf
75
75
76
76
```javascript
77
77
{
78
+
mode:'development',
78
79
module: {
79
80
rules: [
80
81
{
@@ -92,7 +93,9 @@ Object of webpack options. Just `require` in the options from your `webpack.conf
92
93
}
93
94
```
94
95
95
-
Source maps are always enabled unless explicitly disabled by specifying `devtool: false`.
96
+
Source maps are **always enabled** unless explicitly disabled by specifying `devtool: false`.
97
+
98
+
Webpack [mode](https://webpack.js.org/configuration/mode/) is set to `development` if not present. You can set `mode` to "development", "production" or "none".
96
99
97
100
### use babelrc
98
101
@@ -172,6 +175,18 @@ DEBUG=cypress:webpack:stats
172
175
173
176
Use the [version of Node that matches Cypress](https://github.com/cypress-io/cypress/blob/develop/.node-version).
174
177
178
+
Build the typescript files:
179
+
180
+
```shell
181
+
yarn build
182
+
```
183
+
184
+
Watch the typescript files and rebuild on file change:
0 commit comments