1
mirror of https://github.com/jakejarvis/hugo-docker.git synced 2025-07-03 06:16:38 -04:00

add @babel/cli & @babel/core for new Hugo pipes feature

https://gohugo.io/hugo-pipes/babel/
This commit is contained in:
2020-05-20 10:35:58 -04:00
parent d44e650fe4
commit 6fcfa87952

View File

@ -26,7 +26,7 @@ RUN apk update && \
ruby \
${HUGO_EXTENDED:+libc6-compat libstdc++} && \
update-ca-certificates && \
npm install --global postcss-cli autoprefixer && \
npm install --global postcss-cli autoprefixer @babel/core @babel/cli && \
pip3 install --upgrade Pygments==2.* && \
gem install asciidoctor && \
wget https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_EXTENDED:+extended_}${HUGO_VERSION}_Linux-64bit.tar.gz && \
@ -42,6 +42,7 @@ RUN hugo version && \
hugo env && \
postcss --version && \
autoprefixer --version && \
babel --version && \
pygmentize -V && \
asciidoctor --version