Skip to content

Commit

Permalink
Update next config
Browse files Browse the repository at this point in the history
  • Loading branch information
boyvanamstel committed Oct 8, 2020
1 parent 3f0cdc5 commit a58337a
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,6 @@ module.exports = withBundleAnalyzer(
workboxOpts: {
swDest: 'service-worker.js',
},
webpack: (config, options) => {
config.module.rules.push({
test: /\.js$/,
include: /node_modules\/graphql-language-service-parser/,
use: [options.defaultLoaders.babel],
})

return config
},
headers() {
return [
{
Expand All @@ -40,24 +31,5 @@ module.exports = withBundleAnalyzer(
},
]
},
redirects() {
return [
{
source: '/privacy',
destination: 'https://www.notion.so/PRIVACY-POLICY-e9847a7777714eb08ba15a7a8eaee937',
permanent: false,
},
{
source: '/terms',
destination: 'https://www.notion.so/TERMS-OF-USE-ff2ce22a7e9848c89c6be46b44297583',
permanent: false,
},
{
source: '/offsets',
destination: 'https://projectwren.com/?utm_source=carbon',
permanent: false,
},
]
},
})
)

0 comments on commit a58337a

Please sign in to comment.