Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
webpack - sass loader data options
new webpack.LoaderOptionsPlugin({
options: {
sassLoader: {
data: '@import "app/styles/settings/_settings.scss";',
includePaths: 'app/styles'
context: path.resolve(__dirname, '../../') // must evaluate to root of project
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment