-
Notifications
You must be signed in to change notification settings - Fork 21.7k
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
webpack fails to compile with ActionText #36368
Comments
I can reproduce this issue on Rails |
Maybe related to rails/webpacker#2109 (comment), rails/webpacker#2111. |
Related issue: #36278 (comment) This should be fixed with |
@jakeNiemiec : I tried creating an app with Rails here is the gist of files you had asked in the comment -> https://gist.github.com/abhaynikam/62f9c4b32ebe81fb01052c59dca63ea4 |
Did you run |
Same error here with 6.0.0.rc1 and webpacker 4.0.6 after rails action_text:install in a fresh app. |
Same here |
@jernestosuarez @0x2C6 @abhaynikam Can you tell me if changing line 61 in your [
require('@babel/plugin-transform-runtime').default,
{
helpers: false,
regenerator: true,
- corejs: 3
+ corejs: false
}
], If not, can you post a gist like this: #36368 (comment) (👆4 comments up) |
@jakeNiemiec : With the change suggested in the Webpack compile worked for me. 👍 |
@jakeNiemiec : works for me too. |
corejs: false Fixed me up too |
Glad to hear it. PR to fix for everyone: rails/webpacker#2116 See rails/webpacker#2109 (comment) for further instructions. |
Steps to reproduce
rails new sampleapp cd sampleapp ./bin/rails action_text:install ./bin/webpack
Expected behavior
webpack compile without errors
Actual behavior
System configuration
Rails version:
6.0.0.rc1
Ruby version:
2.6.3
The text was updated successfully, but these errors were encountered: