* feat: styled components hasieratik kentzen du * refactor: extract component * refactor: move to new file * feat: kafetegia css modulesera pasatzen du * feat: produktu zerrenda css modulesera pasatzen du
73 lines
1.5 KiB
JavaScript
73 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'],
|
|
fontDisplay: 'swap',
|
|
},
|
|
],
|
|
},
|
|
},
|
|
},
|
|
'gatsby-plugin-sass',
|
|
],
|
|
};
|