node_modules

This commit is contained in:
saeid
2019-07-15 13:07:31 +04:30
parent d3735c6d30
commit ce1a3ebf9c
35713 changed files with 3639219 additions and 1 deletions
@@ -0,0 +1,6 @@
body {
color: red;
}
a {
color: blue;
}
@@ -0,0 +1,6 @@
body {
color: red;
}
p {
color: green;
}
@@ -0,0 +1 @@
a{color:#00f}body{color:red}p{color:green}
@@ -0,0 +1,2 @@
require('./a.css');
require('./b.css');
@@ -0,0 +1,24 @@
import ExtractTextPlugin from 'extract-text-webpack-plugin';
import OptimizeCssAssetsPlugin from '../../../src/';
module.exports = {
entry: './index',
module: {
rules: [
{
test: /\.css$/,
use: ExtractTextPlugin.extract({
fallback: { loader: 'style-loader' },
use: {
loader: 'css-loader',
options: { minimize: true }
}
})
},
],
},
plugins: [
new ExtractTextPlugin('file.css'),
new OptimizeCssAssetsPlugin()
],
};