Skip to content

Instantly share code, notes, and snippets.

@jamesmfriedman
Last active April 25, 2017 21:19
Show Gist options
  • Save jamesmfriedman/ea7742ec80c4ff7f32e09d358391c7fd to your computer and use it in GitHub Desktop.
Save jamesmfriedman/ea7742ec80c4ff7f32e09d358391c7fd to your computer and use it in GitHub Desktop.
medium/webpack-inline-styles/styles
//explicit set of loaders
//use a leading '!' to short circuit any loader rules in the main webpack config.
require('!style-loader!css-loader!sass-loader!./styles/main.scss');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment