Skip to content

Instantly share code, notes, and snippets.

@denisoster
Created February 25, 2019 07:58
Show Gist options
  • Select an option

  • Save denisoster/3135b188d670109e4b0aef928c8d4b14 to your computer and use it in GitHub Desktop.

Select an option

Save denisoster/3135b188d670109e4b0aef928c8d4b14 to your computer and use it in GitHub Desktop.
const { environment } = require('@rails/webpacker');
environment.loaders.get('sass').use.splice(-1, 0, {
loader: 'resolve-url-loader',
options: {
attempts: 1,
}
});
module.exports = environment;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment