0

Support web vitals attribution

This commit is contained in:
Gabe Kangas 2022-10-27 23:39:26 -07:00
parent 2e7787f70b
commit 6564fc69bf
No known key found for this signature in database
GPG Key ID: 9A56337728BC81EA
2 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,9 @@ module.exports = withBundleAnalyzer(
withLess({
trailingSlash: true,
reactStrictMode: true,
experimental: {
webVitalsAttribution: ['CLS', 'LCP'],
},
webpack(config) {
config.module.rules.push({
test: /\.svg$/i,

View File

@ -7,6 +7,7 @@ import '../styles/global.less';
import '../styles/globals.scss';
import '../styles/ant-overrides.scss';
// TODO: Move this videojs sass to the player component.
import '../components/video/VideoJS/VideoJS.scss';
import { AppProps } from 'next/app';