Skip to content

Instantly share code, notes, and snippets.

@ixahmedxi
Created February 23, 2018 09:49
Show Gist options
  • Save ixahmedxi/7d3c25d98bc3091bf1843a2250ab9bcf to your computer and use it in GitHub Desktop.
Save ixahmedxi/7d3c25d98bc3091bf1843a2250ab9bcf to your computer and use it in GitHub Desktop.
Webpack sass compiling
module.exports = {
entry: './src/index.js',
output: {
filename: 'bundle.js',
path: require('path').resolve(__dirname, 'dist')
},
module: {
rules: [
{
test: /\.scss$/,
loader: 'sass-loader'
}
]
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment