Skip to content

Commit

Permalink
Merge pull request #1201 from dis-moi/fix/gatsby_build_missing_style
Browse files Browse the repository at this point in the history
Fix/gatsby build missing style
  • Loading branch information
JalilArfaoui authored Dec 22, 2021
2 parents 70a2358 + fc09b64 commit 29dc742
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"start:firefox": "webpack --watch --progress --mode=development --env.PLATFORM=firefox",
"build:chromium": "webpack --mode=production --env.PLATFORM=chromium",
"build:firefox": "webpack --mode=production --env.PLATFORM=firefox",
"build:profiles": "webpack --config webpack.profiles.config.js --mode=production --env.PLATFORM=profiles && node bin/cpProfilesToWebsite.js",
"build:profiles": "webpack --config webpack.profiles.config.js --mode=production --env.PLATFORM=profiles",
"build:firefox:production:docker": "docker run -v `pwd`:/app -w /app node:10.15.0 yarn install && NODE_ENV=production yarn build:firefox",
"upload:firefox": "node --experimental-json-modules bin/web-ext-sign.mjs",
"upload:chromium": "node --experimental-json-modules bin/chrome-webstore-upload.mjs",
Expand Down Expand Up @@ -249,6 +249,7 @@
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-plugin-import": "^2.18.2",
"gatsby-plugin-copy-files-enhanced": "^1.1.1",
"gatsby-plugin-styled-components": "^5.4.0",
"prettier-eslint-cli": "^5.0.1",
"shelljs": "^0.8.4",
"sign-addon": "^2.0.4",
Expand Down
1 change: 1 addition & 0 deletions src/app/website/gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ module.exports = {
},
plugins: [
`gatsby-plugin-react-helmet`,
'gatsby-plugin-styled-components',
`gatsby-plugin-image`,
// {
// resolve: 'gatsby-plugin-copy-files-enhanced',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,9 +268,7 @@ const ContributorsSection = styled(
<StyledSectionTitle>
{t('home.contributors.title')}
</StyledSectionTitle>
{t('home.contributors.subTitle') !== '' && (
<SubTitle>{t('home.contributors.subTitle')}</SubTitle>
)}
<SubTitle>{t('home.contributors.subTitle')}</SubTitle>
<ContributorAvatars>
{contributors.map<React.ReactNode>((contributor, index) => {
// eslint-disable-next-line camelcase
Expand Down
14 changes: 14 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1239,6 +1239,13 @@
dependencies:
regenerator-runtime "^0.13.4"

"@babel/runtime@^7.15.4":
version "7.16.5"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.16.5.tgz#7f3e34bf8bdbbadf03fbb7b1ea0d929569c9487a"
integrity sha512-TXWihFIS3Pyv5hzR7j6ihmeLkZfrXGxAr5UfSl8CHf+6q/wpiYDkUau0czckpYG8QmnCIuPpdLtuA9VmuGGyMA==
dependencies:
regenerator-runtime "^0.13.4"

"@babel/template@^7.12.7", "@babel/template@^7.15.4", "@babel/template@^7.8.6":
version "7.15.4"
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.15.4.tgz#51898d35dcf3faa670c4ee6afcfd517ee139f194"
Expand Down Expand Up @@ -8793,6 +8800,13 @@ gatsby-plugin-copy-files-enhanced@^1.1.1:
dependencies:
fs-extra "^9.0.0"

gatsby-plugin-styled-components@^5.4.0:
version "5.4.0"
resolved "https://registry.yarnpkg.com/gatsby-plugin-styled-components/-/gatsby-plugin-styled-components-5.4.0.tgz#bb632ac9ecdf12a657dbb9f2c310e6ea105f86a7"
integrity sha512-YsQJW4nuhuSIRrLRwexXWmrqIgirFWfYVtdhPTIHcrq5VCDW2OkMw/Kn+WNpHt1GUmP+3piKfKtofeF61xKwuw==
dependencies:
"@babel/runtime" "^7.15.4"

gauge@~2.7.3:
version "2.7.4"
resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7"
Expand Down

0 comments on commit 29dc742

Please sign in to comment.