Skip to content

help with bourbon and neat in webpack  #39

@cyrstem

Description

@cyrstem

hi i been using bourbon and neat with gulp but i been force to move to webpack,
i have issues importing it and using it with a simple webpack conf file
like this


module.exports ={
	mode:'none',
	entry :"./src/app.js",
	output: {
		path:__dirname+"/public",
		filename:"bundle.js"
		},
	devServer:{
		contentBase: __dirname+ "/public",
		port: 3000
		},
	module:{
		rules:[{loader:"babel-loader",
		test:/\.js/ 
	       },
		{
			test:/\.s?css/, 
			use:[
			{ loader: 'style-loader'}, 
			{loader: 'css-loader'},
			{loader:'sass-loader',options:{includePaths:[require('node-bourbon').includePaths,require('node-neat').includePaths]}}
		]
			}

		]//end of rules
	}
};

can some one show me how to load and use bourbon on here or what im i doing wrong
thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions