* chore: CSS modules sartzen du * refactor: alergeno legenda CSS modules * refactor: css modules erabiltzen du * chore: datubasea berreskuratzen du * chore: kontaktu datuak aldatzen ditu * ignore: saltoa * feat: mugikor nabigazioa erakusten du * chore: mugikor nabigazioa pasatzen du * refactor: kontaktu datuak batzen ditu * fix: gezia konpontzen du * refactor: move component * refactor: move component * refactor: move component * fix: builda konpontzen du * chore: erabiltzen ez zen konponentea kentzen du * fix: hasiera eta kafetegia ez diren atalak konpontzen ditu * chore: react-responsive dependentzia kentzen du * chore: yarn.lock eguneratzen du * fix: kontsolako erroreak kentzen ditu
72 lines
1.5 KiB
JavaScript
72 lines
1.5 KiB
JavaScript
require('dotenv').config({
|
|
path: `.env.${process.env.NODE_ENV}`,
|
|
});
|
|
|
|
module.exports = {
|
|
plugins: [
|
|
'gatsby-plugin-react-helmet',
|
|
{
|
|
resolve: `gatsby-source-filesystem`,
|
|
options: {
|
|
name: `images`,
|
|
path: `${__dirname}/src/images`,
|
|
},
|
|
},
|
|
{
|
|
resolve: 'gatsby-source-strapi-graphql',
|
|
options: {
|
|
apiURL: process.env.API_URL,
|
|
collectionTypes: [],
|
|
singleTypes: [
|
|
'hasiera',
|
|
'kafetegia',
|
|
'lege-oharra',
|
|
'pribatutasun-politika',
|
|
],
|
|
contentTypes: [],
|
|
// Enable/disable cache.
|
|
cache: false,
|
|
token: process.env.STRAPI_GRAPHQL_TOKEN,
|
|
},
|
|
},
|
|
'gatsby-transformer-sharp',
|
|
'gatsby-plugin-sharp',
|
|
'gatsby-plugin-styled-components',
|
|
{
|
|
resolve: 'gatsby-plugin-manifest',
|
|
options: {
|
|
name: 'Laba',
|
|
short_name: 'Laba',
|
|
start_url: '/',
|
|
background_color: `#ffffff`,
|
|
theme_color: `#ffffff`,
|
|
display: `standalone`,
|
|
icon: `src/assets/favicon.svg`,
|
|
},
|
|
},
|
|
'gatsby-plugin-offline',
|
|
{
|
|
resolve: 'gatsby-plugin-react-svg',
|
|
options: {
|
|
rule: {
|
|
include: /assets/,
|
|
},
|
|
},
|
|
},
|
|
{
|
|
resolve: 'gatsby-plugin-webfonts',
|
|
options: {
|
|
fonts: {
|
|
google: [
|
|
{
|
|
family: 'Almarai',
|
|
variants: ['300', '700'],
|
|
},
|
|
],
|
|
},
|
|
},
|
|
},
|
|
'gatsby-plugin-sass',
|
|
],
|
|
};
|