Search code examples
gruntjsbourbonneat

How to define bourbon and neat in grunt js file / windows 8 user?


I'm trying to use this code and I get error for using "loadPath" duplicated.

 options: {
           style: "compressed",
           sourcemap : true,
           loadPath: require('node-bourbon').includePaths,
           loadPath: require('node-neat').includePaths
    },

Solution

  • Using node-neat will return an array of the paths for both Bourbon and Neat. Try this:

    options: {
      style: "compressed",
      sourcemap : true,
      loadPath: require('node-neat').includePaths
    },