-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NODE_ENV set to development
on test.js config file
#1996
Comments
I am concerned about this as well. Trying to get |
Same issue here, had to set it to test to get capybara to pass (cors stuff) // test.js
process.env.NODE_ENV = process.env.NODE_ENV || 'test'
const environment = require('./environment')
const config = environment.toWebpackConfig()
module.exports = config |
I was looking for the same, and it seems that node handles environments differently than Rails. There's discussion here, but the key quote is:
|
Can this issue be closed ? |
Rails 6.1.3.2 |
The file webpacker/lib/install/config/webpack/test.js is setting the environment to
development
. Shouldn't it betest
?The text was updated successfully, but these errors were encountered: