Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jbub/ghostwriter.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjbub <contact@jbub.eu>2017-01-17 09:15:28 +0300
committerjbub <contact@jbub.eu>2017-01-17 09:15:28 +0300
commit9e00476b61ea36caeea5b00c5b5da18acdbda71b (patch)
treead0bbc0857424c61d537a9a322634a7a764272e1
parent208cd773d75209cede6703e75a22181fc03f983d (diff)
Disable output from OptimizeCssAssetsPlugin webpack plugin.
-rw-r--r--package.json4
-rw-r--r--webpack.config.js6
-rw-r--r--yarn.lock12
3 files changed, 12 insertions, 10 deletions
diff --git a/package.json b/package.json
index 080c50d..1602907 100644
--- a/package.json
+++ b/package.json
@@ -12,10 +12,10 @@
"devDependencies": {
"css-loader": "^0.26.1",
"extract-text-webpack-plugin": "^1.0.1",
- "node-sass": "^4.1.1",
+ "node-sass": "^4.3.0",
"normalize.css": "^5.0.0",
"optimize-css-assets-webpack-plugin": "^1.3.0",
- "perfectionist": "^2.3.1",
+ "perfectionist": "^2.4.0",
"postcss-discard-comments": "^2.0.4",
"sass-loader": "^4.1.1",
"style-loader": "^0.13.1",
diff --git a/webpack.config.js b/webpack.config.js
index 0e480cc..ef29078 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -18,13 +18,15 @@ module.exports = {
plugins: [
new ExtractTextPlugin('[name].css'),
new OptimizeCssAssetsPlugin({
- cssProcessor: discardComments
+ cssProcessor: discardComments,
+ canPrint: false
}),
new OptimizeCssAssetsPlugin({
cssProcessor: perfectionist,
cssProcessorOptions: {
format: 'compact'
- }
+ },
+ canPrint: false
})
],
module: {
diff --git a/yarn.lock b/yarn.lock
index 599cffc..be435ee 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1397,9 +1397,9 @@ node-pre-gyp@^0.6.29:
tar "~2.2.1"
tar-pack "~3.3.0"
-node-sass@^4.1.1:
- version "4.1.1"
- resolved "https://registry.yarnpkg.com/node-sass/-/node-sass-4.1.1.tgz#dc3e27d25bd827b6276ea243be357c7c7cd07111"
+node-sass@^4.3.0:
+ version "4.3.0"
+ resolved "https://registry.yarnpkg.com/node-sass/-/node-sass-4.3.0.tgz#d014f64595d77b26af99e9f7a7e74704d9976bda"
dependencies:
async-foreach "^0.1.3"
chalk "^1.1.1"
@@ -1594,9 +1594,9 @@ pbkdf2-compat@2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/pbkdf2-compat/-/pbkdf2-compat-2.0.1.tgz#b6e0c8fa99494d94e0511575802a59a5c142f288"
-perfectionist@^2.3.1:
- version "2.3.1"
- resolved "https://registry.yarnpkg.com/perfectionist/-/perfectionist-2.3.1.tgz#b7a1fb439ed8098ab22aad9e9843fb8c29f80b42"
+perfectionist@^2.4.0:
+ version "2.4.0"
+ resolved "https://registry.yarnpkg.com/perfectionist/-/perfectionist-2.4.0.tgz#c147ad3714e126467f1764129ee72df861d47ea0"
dependencies:
comment-regex "^1.0.0"
defined "^1.0.0"