From 9622806a4262dd6e315fe75cb102d15d2b1bef97 Mon Sep 17 00:00:00 2001 From: Felix Date: Sat, 30 May 2020 17:52:29 -0500 Subject: [PATCH] Remove posthtml-include --- gulpfile.js | 3 +-- package.json | 3 +-- yarn.lock | 23 +---------------------- 3 files changed, 3 insertions(+), 26 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index dde5df2..61a59c0 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -12,7 +12,6 @@ const flatten = require('gulp-flatten') const babel = require('gulp-babel') const terser = require('gulp-terser') const posthtml = require('gulp-posthtml') -const posthtmlInclude = require('posthtml-include') const htmlnano = require('htmlnano') const sizereport = require('gulp-sizereport') const postcssCssVariables = require('postcss-css-variables') @@ -108,7 +107,7 @@ const docs = () => { // * Process HTML * .pipe(htmlOnly) - .pipe(posthtml([posthtmlInclude({ root: './docs/' }), htmlnano()])) + .pipe(posthtml([htmlnano()])) .pipe(htmlOnly.restore) // * Process JS * diff --git a/package.json b/package.json index 9051fc0..1c8c417 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,6 @@ "postcss-css-variables": "^0.12.0", "postcss-import": "^12.0.1", "postcss-inline-svg": "^4.1.0", - "posthtml-include": "^1.2.0", "stylelint": "^13.5.0", "stylelint-config-standard": "^20.0.0" }, @@ -74,4 +73,4 @@ "dist/*.css", "LICENSE.md" ] -} \ No newline at end of file +} diff --git a/yarn.lock b/yarn.lock index 85a05eb..7444011 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3399,11 +3399,6 @@ fastq@^1.6.0: dependencies: reusify "^1.0.4" -fclone@^1.0.11: - version "1.0.11" - resolved "https://registry.yarnpkg.com/fclone/-/fclone-1.0.11.tgz#10e85da38bfea7fc599341c296ee1d77266ee640" - integrity sha1-EOhdo4v+p/xZk0HClu4ddyZu5kA= - figures@^3.0.0: version "3.2.0" resolved "https://registry.yarnpkg.com/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af" @@ -6663,22 +6658,6 @@ postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.14, postcss@^7.0.17, postcss@^7.0.2 source-map "^0.6.1" supports-color "^6.1.0" -posthtml-expressions@^1.3.2: - version "1.4.1" - resolved "https://registry.yarnpkg.com/posthtml-expressions/-/posthtml-expressions-1.4.1.tgz#abb9af66d2594be330fcd44cfc327d9db4bd6b7a" - integrity sha512-XGDLatbRKMphCy1H8ZO3sdQiR31zbPI+0Ghu8/4CuZ1x+Nu188w86URy3/bd+5f8WApCHseaR7Sr58AZZp1yhA== - dependencies: - fclone "^1.0.11" - -posthtml-include@^1.2.0: - version "1.4.3" - resolved "https://registry.yarnpkg.com/posthtml-include/-/posthtml-include-1.4.3.tgz#62168a820138a916a09eb15cb89720be6f6af337" - integrity sha512-2DOe1OIzhIOXUfHDGjGiH/VmdliT3rZ4Fcc/wyG9QxM+jhPbBWPQMJwisI6X4CrPrzU2YqXlrFS+JfwtB/9hww== - dependencies: - posthtml "^0.12.1" - posthtml-expressions "^1.3.2" - posthtml-parser "^0.4.2" - posthtml-load-config@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/posthtml-load-config/-/posthtml-load-config-1.0.0.tgz#014769b8931aaa35f014cf8f4fe35f746730ccc3" @@ -6714,7 +6693,7 @@ posthtml@^0.11.0: posthtml-parser "^0.4.1" posthtml-render "^1.1.5" -posthtml@^0.12.0, posthtml@^0.12.1: +posthtml@^0.12.0: version "0.12.3" resolved "https://registry.yarnpkg.com/posthtml/-/posthtml-0.12.3.tgz#8fa5b903907e9c10ba5b883863cc550189a309d5" integrity sha512-Fbpi95+JJyR0tqU7pUy1zTSQFjAsluuwB9pJ1h0jtnGk7n/O2TBtP5nDl9rV0JVACjQ1Lm5wSp4ppChr8u3MhA==