diff options
author | XhmikosR <xhmikosr@gmail.com> | 2019-03-19 15:29:52 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-19 15:29:52 +0300 |
commit | 1f7f876810c51d31baa6096465bd8501b2e23d9a (patch) | |
tree | 40f69aa0204890de56ecc7f4a3957b0b17da995f /package.json | |
parent | b0f918982fc5086d469aa6d79ea45553a1399a1d (diff) |
Fix `css-prefix-docs` script to be more restrictive. (#28525)
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json index 7c1847fbf5..5146f5b3f3 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "css-minify-docs": "cross-env-shell cleancss --level 1 --format breaksWith=lf --source-map --source-map-inline-sources --output site/static/docs/$npm_package_version_short/assets/css/docs.min.css site/static/docs/$npm_package_version_short/assets/css/docs.min.css", "css-prefix": "npm-run-all --parallel css-prefix-*", "css-prefix-main": "postcss --config build/postcss.config.js --replace \"dist/css/*.css\" \"!dist/css/*.min.css\"", - "css-prefix-docs": "postcss --config build/postcss.config.js --replace \"site/static/**/*.css\" \"site/static/**/*.css\"", + "css-prefix-docs": "cross-env-shell postcss --config build/postcss.config.js --replace \"site/static/docs/$npm_package_version_short/assets/css/*.css\" \"site/static/docs/$npm_package_version_short/assets/css/*.css\"", "css-prefix-examples": "postcss --config build/postcss.config.js --replace \"site/content/**/*.css\" \"site/content/**/*.css\"", "js": "npm-run-all js-compile js-minify js-copy", "js-copy": "cross-env-shell shx mkdir -p site/static/docs/$npm_package_version_short/dist/ && cross-env-shell shx cp -r dist/js/ site/static/docs/$npm_package_version_short/dist/", |