Skip to content

Commit f42dd64

Browse files
justin808claude
andcommitted
Fix Shakapacker configuration warnings
- Remove babel.config.js (unused with SWC transpiler) - Add missing binstubs (bin/export-bundler-config) - Update shakapacker and shakapacker-dev-server binstubs This addresses warnings from Shakapacker's configuration validator: - Warning about unused Babel config when using SWC transpiler - Warning about missing export-bundler-config binstub Note: swc-loader removal (warning #5) requires package.json changes and should be handled separately. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 4ee628c commit f42dd64

File tree

4 files changed

+11
-38
lines changed

4 files changed

+11
-38
lines changed

demos/basic-v16-rspack/babel.config.js

Lines changed: 0 additions & 36 deletions
This file was deleted.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/usr/bin/env node
2+
3+
// Minimal shim - all logic is in the TypeScript module
4+
const { run } = require('shakapacker/configExporter')
5+
6+
run(process.argv.slice(2))
7+
.then((exitCode) => process.exit(exitCode))
8+
.catch((error) => {
9+
console.error(error.message)
10+
process.exit(1)
11+
})

demos/basic-v16-rspack/bin/shakapacker

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/usr/bin/env ruby
2-
# frozen_string_literal: true
32

43
ENV["RAILS_ENV"] ||= "development"
54
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)

demos/basic-v16-rspack/bin/shakapacker-dev-server

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/usr/bin/env ruby
2-
# frozen_string_literal: true
32

43
ENV["RAILS_ENV"] ||= "development"
54
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)

0 commit comments

Comments
 (0)