Closed undefinedvalue closed 5 years ago
@undefinedvalue Thanks for the report. This was an important one. Release fix in v1.8.9
Had to dig into this one a bit. Some notes for posterity:
syntax-dynamic-import
-> @babel/plugin-syntax-dynamic-import
. So needed to update the generated .babelrc file to the new libraries.postcss-cssnext
plugin was also moved to a separate library. So that needed to be added as part of the jets new
process.extract_css: true
in your webpacker.yml
Big thanks to: https://github.com/babel/babel-upgrade for helping with the fix.
Pushed out a release to fix this quickly. Would like to revisit the tongueroo/webpacker fork for Jets and release it as a separate gem when got time. Unsure when. Will consider PRs.
Checklist
jets upgrade
command that makes this a simple task. There's also an Upgrading Guide: http://rubyonjets.com/docs/upgrading/My Environment
Expected Behaviour
A newly created Jets project should build successfully.
Current Behavior
A newly created Jets project fails to build due to webpack errors.
Here is the output of
jets build
err.txtStep-by-step reproduction instructions