Comparing version 1.1.12 to 1.2.0
@@ -41,6 +41,21 @@ const webpack = require("webpack"); | ||
rules: [{ | ||
test: /\.(scss|sass|less|css|styl)$/, | ||
test: /\.(css)$/, | ||
use: [ | ||
'style-loader', 'css-loader', 'postcss-loader', 'sass-loader', 'less-loader', 'stylus-loader' | ||
'style-loader', 'css-loader', 'postcss-loader' | ||
] | ||
}, { | ||
test: /\.(scss|sass)$/, | ||
use: [ | ||
'style-loader', 'css-loader', 'postcss-loader', 'sass-loader' | ||
] | ||
}, { | ||
test: /\.(styl)$/, | ||
use: [ | ||
'style-loader', 'css-loader', 'postcss-loader', 'stylus-loader' | ||
] | ||
},{ | ||
test: /\.(less)$/, | ||
use: [ | ||
'style-loader', 'css-loader', 'postcss-loader', 'less-loader' | ||
] | ||
}] | ||
@@ -73,3 +88,3 @@ }, | ||
}), | ||
new VueLoaderPlugin(), | ||
@@ -76,0 +91,0 @@ new OptimizeCSSPlugin({ |
@@ -53,6 +53,4 @@ const webpack = require("webpack"); | ||
rules: [{ | ||
test: /\.(scss|sass|less|css|styl)$/, | ||
use: [ | ||
// v1.1.10 for fix css image path error | ||
{ | ||
test: /\.(css)$/, | ||
use: [{ | ||
loader: MiniCssExtractPlugin.loader, | ||
@@ -64,4 +62,37 @@ options: { | ||
}, | ||
'css-loader', 'postcss-loader', 'sass-loader', 'less-loader', 'stylus-loader' | ||
'style-loader', 'css-loader', 'postcss-loader' | ||
] | ||
}, { | ||
test: /\.(scss|sass)$/, | ||
use: [{ | ||
loader: MiniCssExtractPlugin.loader, | ||
options: { | ||
// by default it use publicPath in webpackOptions.output | ||
publicPath: '../../' | ||
} | ||
}, | ||
'style-loader', 'css-loader', 'postcss-loader', 'sass-loader' | ||
] | ||
}, { | ||
test: /\.(styl)$/, | ||
use: [{ | ||
loader: MiniCssExtractPlugin.loader, | ||
options: { | ||
// by default it use publicPath in webpackOptions.output | ||
publicPath: '../../' | ||
} | ||
}, | ||
'style-loader', 'css-loader', 'postcss-loader', 'stylus-loader' | ||
] | ||
}, { | ||
test: /\.(less)$/, | ||
use: [{ | ||
loader: MiniCssExtractPlugin.loader, | ||
options: { | ||
// by default it use publicPath in webpackOptions.output | ||
publicPath: '../../' | ||
} | ||
}, | ||
'style-loader', 'css-loader', 'postcss-loader', 'less-loader' | ||
] | ||
}] | ||
@@ -68,0 +99,0 @@ }, |
{ | ||
"name": "easyify", | ||
"version": "1.1.12", | ||
"description": "A compilation tools for FE, built with webpack4.x, compile faster and smart, make work easier.", | ||
"version": "1.2.0", | ||
"description": "A compilation tools & workflow for FE, built with webpack4.x, compile faster and smart, make work easier.", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
@@ -1,2 +0,2 @@ | ||
![logo](http://easyify.webkong.cn/_media/logo.png) | ||
![logo](https://easyify.webkong.cn/_media/logo.png) | ||
@@ -6,3 +6,3 @@ ![CircleCI](https://img.shields.io/circleci/project/github/webkong/easyify.svg)[![npm package](https://img.shields.io/npm/v/easyify.svg)](https://www.npmjs.com/package/easyify)![npm](https://img.shields.io/npm/l/easyify.svg)![node](https://img.shields.io/node/v/easyify.svg)![webpack](https://img.shields.io/badge/webpack-4.16+-green.svg) | ||
[document](http://easyify.webkong.cn) | ||
[document](https://easyify.webkong.cn) | ||
@@ -220,2 +220,6 @@ >A compilation tools for FE, built with webpack4.x, compile faster and smart, make work easier. | ||
* Fix dll packages error | ||
* Use multi-core compression JavaScript | ||
* Use multi-core compression JavaScript | ||
### v1.2.0 | ||
* Fix CSS loaders bug |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
48828
606
223