0.0.2 • Published 8 years ago

ankhem-loader-style v0.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

ankhem-loader-style

Ankhem Component: Loader for style

CSS, SASS

Usage

Your webpack.config.js maybe like this:

var ExtractTextPlugin = require('extract-text-webpack-plugin');

module.exports = {
	plugins: [
		new ExtractTextPlugin('style.css', {
			allChunks: true
		})
	],
	module: {
		loaders: [
			{
				test: /\.scss$/,
				exclude: /(node_modules|bower_components)/,
				loader: ExtractTextPlugin.extract('css!sass')
			}
		]
	}
};