rails-erb-loader icon indicating copy to clipboard operation
rails-erb-loader copied to clipboard

Embedded Ruby (.erb) webpack loader for Ruby projects.

Results 17 rails-erb-loader issues
Sort by recently updated
recently updated
newest added

Running the following: `ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /Users/swathishah/shopify-app/bin/spring rails --trace assets:precompile` But I randomly get following error: ``` ERROR in ./app/javascript/components/layout_tab.js.erb Module build failed: Error: rails-erb-loader failed with code: 1 at...

help wanted
improve error reporting

We're looking at migrating from webpacker to jsbundling-rails + esbuild. Any ideas on how to use `rails-erb-loader` with esbuild?

I have a controller at `lib/my_awesome_helpers/controller.rb` that looks something like this: ```ruby module MyAwesomeHelpers module Controller def print_some_stuff return 'some stuff' end end end ``` I set up my `webpack.config.js`...

question
more information needed

3 years since last release. Although most changes are dependencies updated and some documentation changes, a minor version bump would be great!

I spent quite some time figuring out I needed the following syntax to get dependencies detected for my `.html.erb` files: I see two solutions: 1. document this properly 2. iso....

Looks like the rails runner interprets anything starting with a `/` as a regex so when the `runnerPath` ends up being an absolute path it breaks. fixes #105

Hi, I'm trying to migrate an existing project from yarn to yarn 2 (with pnp) but I'm encountering a strange issue when it comes to `rails-erb-loader` and `webpack`/`webpacker` I'm using...

Hi there, So i'm testing out Webpacker 6 which uses webpack 5 - I'm having trouble initializing the loader. ```js module.exports = { test: /\.erb$/, enforce: "pre", exclude: /node_modules/, use:...

help wanted

I may be mistakenly reading the logs/results I'm getting, but it seems like this boots a totally separate server process for each file that it needs to template, meaning that...

Completely rewrite index.ts in TS.