0.0.2 • Published 8 years ago
ankhem-loader-style v0.0.2
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')
}
]
}
};