2.0.0 • Published 7 years ago
@skyrpex/style-webpack-loaders v2.0.0
Style Webpack loaders
Installation
npm install @skyrpex/style-webpack-loaders
Usage
// webpack.config.js
import {
ExtractTextPlugin,
loaders,
vueLoaders,
} from '@skyrpex/style-webpack-loaders';
export default {
// ...
module: {
loaders: {
...loaders(/* { sourceMap: true, extract: true } */),
},
},
vue: {
loaders: {
...vueLoaders(/* { sourceMap: true, extract: true } */),
},
},
plugins: [
// Extract styles to a file
new ExtractTextPlugin('css/[name].[contenthash].css'),
],
};
2.0.0
7 years ago
2.0.0-beta.3
8 years ago
2.0.0-beta.2
8 years ago
2.0.0-beta.1
8 years ago
1.0.2
8 years ago
1.0.1
8 years ago
1.0.0
8 years ago