-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
This will make sure css is not cached in the browser ...
Running this withtime npm run buildin terminal takes3.95s(1smore than without it)
Works
You've got to both wrap in quotes " ", and escape them \" ...
--variable-json css-version=\"$(npm pkg get version)\"
Does not work
-- Pandoc and get npm version number
--variable-json css-version=$(npm pkg get version)
-- For some reason this fails
--variable-json css-version=$npm_package_versionnpm pkg get version returns a "string" value though, and we'd need a non-string value for our ?=version number or else we'll get an unexpected " " error.
Metadata
Metadata
Assignees
Labels
No labels