Skip to content

fraserxu/webpack-bourbon-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webpack-bourbon-test

Running

$ npm i
$ webpack

Code

var bourbon = require('node-bourbon').includePaths;

module.exports = {
  entry: './main.js',
  output: {
    path: './build',
    filename: 'bundle.js'
  },
  module: {
    loaders: [
      { test: /\.scss$/, loader: "style!css!sass?includePaths[]=" + bourbon }
    ]
  },
  resolve: {
    modulesDirectories: ['node_modules'],
    extensions: ['', '.js', '.json']
  }
}

Thanks @nickdima to help me figure it out.

About

A repo to test use webpack sass-loader with node-bourbon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published