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

Migrate JavaScript and Stylesheets to esbuild #95

Merged
merged 1 commit into from
Dec 23, 2024
Merged

Conversation

marcoroth
Copy link
Owner

This pull request includes several changes to update the JavaScript bundling and build process, as well as some related configuration updates. The main changes involve switching from Webpacker to jsbundling-rails and updating Node.js and various configuration files accordingly.

JavaScript Bundling and Build Process Updates:

  • Gemfile: Replaced webpacker with jsbundling-rails for JavaScript bundling.
  • Procfile.dev: Updated the JavaScript build command to use yarn build --watch instead of bin/webpack-dev-server.
  • app/views/layouts/application.html.erb: Replaced javascript_pack_tag and stylesheet_pack_tag with javascript_include_tag for loading JavaScript and CSS.

Node.js and Configuration Updates:

  • .node-version: Updated Node.js version from 16.15.0 to 22.11.0.
  • README.md: Updated references from Webpacker and Node 16 to jsbundling-rails and Node 22.

Asset and Stylesheet Management:

JavaScript File Updates:

Removal of Webpacker Configuration:

  • Removed Webpacker configuration files including config/webpack/development.js, config/webpack/environment.js, config/webpack/production.js, config/webpack/test.js, and config/webpacker.yml. [1] [2] [3] [4] [5]

@marcoroth marcoroth merged commit 53079d8 into main Dec 23, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant