Skip to content

Instantly share code, notes, and snippets.

@philippegirard
Last active August 5, 2021 12:53
Show Gist options
  • Save philippegirard/954dac3cd3fe4e27f9d67caed79d306d to your computer and use it in GitHub Desktop.
Save philippegirard/954dac3cd3fe4e27f9d67caed79d306d to your computer and use it in GitHub Desktop.
environment.js
// resolve-url-loader must be used before sass-loader
environment.loaders.get("sass").use.splice(-1, 0, {
loader: "resolve-url-loader",
});
...
// at the end of the file
environment.loaders.delete("nodeModules")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment