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

Add JavascriptPackageTest for Action Text #49932

Conversation

jonathanhefner
Copy link
Member

This mirrors the existing JavascriptPackageTest tests for UJS, Action Cable, and Active Storage.

This mirrors the existing `JavascriptPackageTest` tests for UJS, Action
Cable, and Active Storage.
@rails-bot rails-bot bot added the actiontext label Nov 5, 2023
@jonathanhefner jonathanhefner merged commit 3764d7b into rails:main Nov 5, 2023
4 checks passed
jonathanhefner added a commit that referenced this pull request Nov 6, 2023
…package_test

Add `JavascriptPackageTest` for Action Text

(cherry picked from commit 3764d7b)
jonathanhefner added a commit that referenced this pull request Nov 6, 2023
…package_test

Add `JavascriptPackageTest` for Action Text

(cherry picked from commit 3764d7b)
jonathanhefner added a commit that referenced this pull request Nov 9, 2023
…ascript_package_test"

It's not clear why, but the output of `yarn build` for
`actiontext/rollup.config.js` and `app/javascript/actiontext/index.js`
has changed since those files were last commited.  Specifically, the
built `app/assets/javascripts/actiontext.js` now defines top-level
functions whereas it previously defined an IIFE even with `format: "es"`.
(See also 8a34a93 which addresses this
issue for `7-1-stable` by adding a separate UMD build.)  Therefore, this
commit reverts 91d4731 to use the last
known acceptable version of `app/assets/javascripts/actiontext.js`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant