Skip to content

Instantly share code, notes, and snippets.

@selbekk
Created August 1, 2018 08:20
Show Gist options
  • Save selbekk/0ae0983acbd366a4f64ecc3f6ba1c5ce to your computer and use it in GitHub Desktop.
Save selbekk/0ae0983acbd366a4f64ecc3f6ba1c5ce to your computer and use it in GitHub Desktop.
webpack and less - index.js
import './my-styles.less';
document.querySelector('body').classList.add('with-styles');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment