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

This was originally posted at webpacker https://github.com/rails/webpacker/issues/785. Using rails-erb-loader@^5.2.1 and webpacker gem 3.0.1, rails 5.1.4 and spring 2.0.2. I've the problem that in my current project, webpack-dev-server hangs when first...

bug
help wanted

With a `js.erb` file of the following contents: ``` const ASSET = ""; ``` The above crashes with the following exception (application name replaced with `myapp`): ``` ERROR in ./client/js/constants/AssetConstants.js.erb...

help wanted
feature request

Ensure that `rails-erb-loader-dependencies` commands that reference non-existent files throws errors in tests.

help wanted
tools

### Quick fix option Add https://www.npmjs.com/package/eslint-plugin-jest and in the test file: ```js /* eslint-env jest/globals */ ``` So that we don't get undefined errors for all the globals defined by...

help wanted

After adding the ERB loader and adding the `.erb` file extension to my `application` pack, I am getting the following error: ``` ERROR in ./app/webpack/packs/application.js.erb Module build failed: Error: spawn...

bug
help wanted

To prevent regressions on #35.

help wanted
tools

See [npm scripts](https://docs.npmjs.com/misc/scripts) - [ ] Run tests on `prepublishOnly` script - [ ] Run `bundle install` on `postinstall` script so that Ruby dependencies will be installed with npm dependencies

help wanted
tools