Closed gathuku closed 1 year ago
It does need to be replaced with esbuild import.
Instead of removing channels/index.js
, we can just replace the contents with an esbuild import like we do with Stimulus controllers.
import "./**/*_channel.js"
Also I think we can remove app/javascript/packs
folder since it's not being used anymore.
Please check how the custom.js
we can handle custom.js
for bootstrap tooltips.
@excid3 can we remove this file containing webpack related content?. We are using the
esbuild-rails
plugin to load all files with the suffix_channel.js
. Someone may not notice the errors but when you import everything in the channel directory(import "./channels"
) the errors are visible in the console and can cause issues.