Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
dir-index-html
Commits
674440b1
Commit
674440b1
authored
4 years ago
by
Jessica Schilling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't minify spaces
parent
f181cbc5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
package.json
package.json
+1
-1
No files found.
package.json
View file @
674440b1
...
...
@@ -20,7 +20,7 @@
"build"
:
"npm run build:clean && npm run build:stripstylelinks && npm run build:minify && npm run build:insert"
,
"build:clean"
:
"rm -rf ./dist/*"
,
"build:stripstylelinks"
:
"sed '/<link rel=
\"
stylesheet
\"
/d' src/dir-index.html > dist/base-html.html"
,
"build:minify"
:
"(echo
\"
<style>
\"
&& cat src/icons.css src/style.css | tr -d
\"
\t\n\r\"
&& echo
\"
</style>
\"
) > dist/minified-style.html"
,
"build:minify"
:
"(echo
\"
<style>
\"
&& cat src/icons.css src/style.css | tr -d
\"\t\n\r\"
&& echo
\"
</style>
\"
) > dist/minified-style.html"
,
"build:insert"
:
"sed '/<head>/ r dist/minified-style.html' dist/base-html.html > dist/dir-index.html"
}
}
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment