switch to webpack5

This commit is contained in:
Michael Schramm 2021-05-15 09:04:56 +02:00
parent 117216c851
commit c793321ecb

View File

@ -4,7 +4,10 @@ const p = require('./package.json')
const version = p.version;
module.exports = withImages({
poweredByHeader: false,
poweredByHeader: true,
future: {
webpack5: true,
},
publicRuntimeConfig: {
endpoint: process.env.ENDPOINT || '/graphql',
spa: !!process.env.SPA || false,