Skip to content

Commit b8dd80c

Browse files
committed
Update gatsby-plugin-sass
1 parent 83cbc02 commit b8dd80c

File tree

7 files changed

+26189
-182
lines changed

7 files changed

+26189
-182
lines changed

Dockerfile

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
1-
FROM node:14.15.3-alpine
1+
FROM node:16.4.2-alpine
22

33
RUN apk update && \
4-
apk add git util-linux autoconf make gcc g++ automake libtool pkgconf nasm
4+
apk add --no-cache git \
5+
util-linux \
6+
autoconf \
7+
make \
8+
gcc \
9+
g++ \
10+
automake \
11+
libtool \
12+
vips-dev \
13+
pkgconf \
14+
nasm \
15+
python3 && \
16+
ln -s /usr/bin/python3 /usr/bin/python
517

618
WORKDIR /app

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66

77
## Getting Started
88

9-
1. `docker-compose run --rm development npm install`
10-
1. `docker-compose up`
9+
1. `docker compose run --rm development npm install`
10+
1. `docker compose up`
1111
1. See `http://localhost:8000`

gatsby-config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ module.exports = {
1616
{
1717
resolve: `gatsby-plugin-sass`,
1818
options: {
19-
data: `
20-
@import "${__dirname}/src/global_styles/colors";
21-
@import "${__dirname}/src/global_styles/variables";
19+
additionalData: `
20+
@import "${__dirname}/src/styles/colors";
21+
@import "${__dirname}/src/styles/variables";
2222
`,
2323
},
2424
},

0 commit comments

Comments
 (0)