Skip to content
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

Bug: Javascript not executing in production build since 2.1.0 #238

Closed
5 tasks done
tombroucke opened this issue Jul 8, 2022 · 0 comments
Closed
5 tasks done

Bug: Javascript not executing in production build since 2.1.0 #238

tombroucke opened this issue Jul 8, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@tombroucke
Copy link
Contributor

Terms

Description

What's wrong?

In a Sage 10 + roots/acorn 2.1.0 install, after running yarn build, the scripts are enqueued but not executed.

What have you tried?

Downgrading bud to 5.x, no effect.

Temporary workarounds

Downgrading roots/acorn to v2.0.6.

Steps To Reproduce

  1. Clone roots/sage^10
  2. Require roots/[email protected]
  3. Add some script to sage/resources/scripts/app.js
  4. yarn build
  5. View in browser

Expected Behavior

Scripts (both app.js & editor.js) should run

Actual Behavior

Scripts (both app.js & editor.js) don't run

Relevant Log Output

There are no console errors, no PHP errors, no acorn logs.

Versions

2.1.0

@tombroucke tombroucke added the bug Something isn't working label Jul 8, 2022
Log1x added a commit that referenced this issue Jul 8, 2022
chore(bundle): Add missing docblocks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant