From 911aa18247c10434f580620ed524ef5610ed6814 Mon Sep 17 00:00:00 2001 From: StudioMaX Date: Fri, 4 Jun 2021 16:00:34 +0600 Subject: [PATCH] Switch to https URLs --- README.md | 10 +++++----- package.json | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 4c8f5c6..10fab6d 100644 --- a/README.md +++ b/README.md @@ -6,11 +6,11 @@ A Webpack plugin to optimize \ minimize CSS assets. ## What does the plugin do? -It will search for CSS assets during the Webpack build and will optimize \ minimize the CSS (by default it uses [cssnano](http://github.com/ben-eb/cssnano) but a custom CSS processor can be specified). +It will search for CSS assets during the Webpack build and will optimize \ minimize the CSS (by default it uses [cssnano](https://github.com/cssnano/cssnano) but a custom CSS processor can be specified). -### Solves [extract-text-webpack-plugin](http://github.com/webpack/extract-text-webpack-plugin) CSS duplication problem: +### Solves [extract-text-webpack-plugin](https://github.com/webpack-contrib/extract-text-webpack-plugin) CSS duplication problem: -Since [extract-text-webpack-plugin](http://github.com/webpack/extract-text-webpack-plugin) only bundles (merges) text chunks, if it's used to bundle CSS, the bundle might have duplicate entries (chunks can be duplicate free but when merged, duplicate CSS can be created). +Since [extract-text-webpack-plugin](https://github.com/webpack-contrib/extract-text-webpack-plugin) only bundles (merges) text chunks, if it's used to bundle CSS, the bundle might have duplicate entries (chunks can be duplicate free but when merged, duplicate CSS can be created). ## Installation: @@ -25,7 +25,7 @@ $ npm install --save-dev optimize-css-assets-webpack-plugin The plugin can receive the following options (all of them are optional): * `assetNameRegExp`: A regular expression that indicates the names of the assets that should be optimized \ minimized. The regular expression provided is run against the filenames of the files exported by the `ExtractTextPlugin` instances in your configuration, not the filenames of your source CSS files. Defaults to `/\.css$/g` -* `cssProcessor`: The CSS processor used to optimize \ minimize the CSS, defaults to [`cssnano`](http://github.com/ben-eb/cssnano). This should be a function that follows `cssnano.process` interface (receives a CSS and options parameters and returns a Promise). +* `cssProcessor`: The CSS processor used to optimize \ minimize the CSS, defaults to [`cssnano`](https://github.com/cssnano/cssnano). This should be a function that follows `cssnano.process` interface (receives a CSS and options parameters and returns a Promise). * `cssProcessorOptions`: The options passed to the `cssProcessor`, defaults to `{}` * `cssProcessorPluginOptions`: The plugin options passed to the `cssProcessor`, defaults to `{}` * `canPrint`: A boolean indicating if the plugin can print messages to the console, defaults to `true` @@ -59,5 +59,5 @@ module.exports = { ## License -MIT (http://www.opensource.org/licenses/mit-license.php) +MIT (https://opensource.org/licenses/mit-license.php) diff --git a/package.json b/package.json index dd0b1c5..5500c65 100644 --- a/package.json +++ b/package.json @@ -11,13 +11,13 @@ "remove", "webpack" ], - "homepage": "http://github.com/NMFR/optimize-css-assets-webpack-plugin", + "homepage": "https://github.com/NMFR/optimize-css-assets-webpack-plugin", "license": "MIT", "author": "Nuno Rodrigues", "main": "src/index.js", "repository": { "type": "git", - "url": "http://github.com/NMFR/optimize-css-assets-webpack-plugin.git" + "url": "https://github.com/NMFR/optimize-css-assets-webpack-plugin.git" }, "scripts": { "test": "jest",