Skip to content

Commit fd5964a

Browse files
committed
working test
1 parent fa26499 commit fd5964a

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

babel.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ module.exports = function(api) {
7777
async: false
7878
}
7979
],
80-
]
8180
].filter(Boolean)
8281
}
8382
}

config/webpack/development.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,14 @@ process.env.NODE_ENV = process.env.NODE_ENV || 'development'
22

33
const environment = require('./environment')
44

5-
module.exports = environment.toWebpackConfig()
5+
// console.log('NODE_ENV', process.env.NODE_ENV)
6+
7+
const config = environment.toWebpackConfig()
8+
// for some reason config.mode was set to production
9+
// but we don't want that - all those webpack configs screw everything
10+
config.set('mode', 'development')
11+
12+
// console.log('config is')
13+
// console.log(config)
14+
15+
module.exports = config

cypress/plugins/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* @type {Cypress.PluginConfig}
1717
*/
1818

19-
const webpackPreprocessor = require('@cypress/webpack-preprocessor')
19+
// const webpackPreprocessor = require('@cypress/webpack-preprocessor')
2020

2121
module.exports = (on, config) => {
2222

0 commit comments

Comments
 (0)