Skip to content

Commit c6e4d30

Browse files
J9remseballot
authored andcommitted
fix(extra-files-from-node): keep history of vue-theme modification in comment
1 parent 60a57c8 commit c6e4d30

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

javascripts/vendor/extract-files-from-node-modules.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,11 @@ mkdir -p javascripts/vendor/docsify/plugins && \
105105
# cp -f node_modules/docsify/lib/plugins/*.min.js javascripts/vendor/docsify/plugins && \
106106
cp -f node_modules/docsify-copy-code/dist/*.min.js javascripts/vendor/docsify/plugins
107107
cp -f node_modules/docsify-copy-code/LICENSE javascripts/vendor/docsify/plugins/LICENSE-docisfy-copy-code
108+
# mkdir -p styles/vendor/docsify && \
109+
# cat node_modules/docsify/lib/themes/vue.css \
110+
# | sed -E "s|(@import url\(\"https://fonts.googleapis.com)|/* \n This file has been modified just to remove google font import on first line\n It's based on Vue theme maintained by docsify\n https://cdn.jsdelivr.net/npm/docsify/lib/themes/vue.css\n */\n/* \1|g" \
111+
# | sed -E 's|("\);)(\*\{-webkit)|\1 */\n\2|g' \
112+
# > styles/vendor/docsify/vue-theme-modified.min.css
108113

109114
# Lazysizes
110115
mkdir -p javascripts/vendor/lazysizes && \

0 commit comments

Comments
 (0)