Skip to content
Snippets Groups Projects
Commit 787c20d8 authored by Pierre-Jean CHANCELLIER's avatar Pierre-Jean CHANCELLIER
Browse files

remove purgecss and improve keyfields for graphQL types

parent b23153e5
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@ export default ctx => {
const cache = new InMemoryCache({
typePolicies: {
Event: {
keyFields: ['block',['bct']]
keyFields: ['block',['number ']]
},
EventId: {
keyFields: ['member',['hash'],'inOut']
......@@ -28,7 +28,7 @@ export default ctx => {
keyFields: ['hash']
},
Forecast: {
keyFields: ['member',['hash'],'date']
keyFields: ['member',['hash'],'date','after','proba']
}
}
})
......
......@@ -35,8 +35,7 @@ export default {
// Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules
buildModules: [
// https://go.nuxtjs.dev/pwa
'@nuxtjs/pwa',
'nuxt-purgecss'
'@nuxtjs/pwa'
],
// Modules: https://go.nuxtjs.dev/config-modules
......@@ -60,6 +59,7 @@ export default {
},
bootstrapVue: {
// For using custom Bootstrap SCSS, disable automatic inclusion of Bootstrap and BootstrapVue pre-compiled CSS files
css: false,
bvCSS: false
},
......
......@@ -19,7 +19,6 @@
"dayjs": "^1.10.7",
"graphql-tag": "^2.12.6",
"nuxt": "^2.15.8",
"nuxt-purgecss": "^1.0.0",
"vue": "^2.6.14"
},
"devDependencies": {
......
......@@ -58,7 +58,7 @@ export default {
inOut
},
block {
bct
number
}
}
} `,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment