Permalink
Browse files

Removed this mini css shit

  • Loading branch information...
blunt1337 committed Apr 2, 2018
1 parent ecb7161 commit 8d2e8dc26f2beb38e8c39eb243a994c48876b213
Showing with 0 additions and 315 deletions.
  1. +0 −297 src/package-lock.json
  2. +0 −1 src/package.json
  3. +0 −17 src/webpack.prod.js

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -22,7 +22,6 @@
"highlight.js": "^9.12.0",
"html-webpack-plugin": "^3.1.0",
"markup-inline-loader": "^0.2.2",
"mini-css-extract-plugin": "^0.2.0",
"node-sass": "^4.7.2",
"optimize-css-assets-webpack-plugin": "^4.0.0",
"optimize-js-plugin": "0.0.4",
@@ -7,28 +7,15 @@ const OptimizeJsPlugin = require('optimize-js-plugin')
const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin')
const cssnano = require('cssnano')
const glob = require('glob')
const MiniCssExtractPlugin = require('mini-css-extract-plugin')
const SriPlugin = require('webpack-subresource-integrity')
module.exports = merge.smart({
module: {
rules: [
{
test: /\.css$/,
use: [MiniCssExtractPlugin.loader],
},
{
test: /\.s[ac]ss$/,
use: [MiniCssExtractPlugin.loader],
},
{
test: /\.vue$/,
loader: 'vue-loader',
options: {
loaders: {
scss: [MiniCssExtractPlugin.loader, 'css-loader', 'sass-loader'],
css: [MiniCssExtractPlugin.loader, 'css-loader'],
},
preLoaders: {
html: 'markup-inline-loader'
},
@@ -48,10 +35,6 @@ module.exports = merge.smart({
new OptimizeJsPlugin({
sourceMap: false
}),
new MiniCssExtractPlugin({
filename: '[name].css',
chunkFilename: '[id].css',
}),
new OptimizeCSSAssetsPlugin({
cssProcessor: cssnano,
cssProcessorOptions: {

0 comments on commit 8d2e8dc

Please sign in to comment.