You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
498 B
15 lines
498 B
3 years ago
|
/* eslint-disable import/no-extraneous-dependencies */
|
||
|
const withBundleAnalyzer = require('@next/bundle-analyzer')({
|
||
|
enabled: process.env.ANALYZE === 'true',
|
||
|
});
|
||
|
|
||
|
module.exports = withBundleAnalyzer({
|
||
|
poweredByHeader: false,
|
||
|
trailingSlash: true,
|
||
|
basePath: '',
|
||
|
// The starter code load resources from `public` folder with `router.basePath` in React components.
|
||
|
// So, the source code is "basePath-ready".
|
||
|
// You can remove `basePath` if you don't need it.
|
||
|
reactStrictMode: true,
|
||
|
});
|