mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
Support web vitals attribution
This commit is contained in:
parent
2e7787f70b
commit
6564fc69bf
@ -7,6 +7,9 @@ module.exports = withBundleAnalyzer(
|
|||||||
withLess({
|
withLess({
|
||||||
trailingSlash: true,
|
trailingSlash: true,
|
||||||
reactStrictMode: true,
|
reactStrictMode: true,
|
||||||
|
experimental: {
|
||||||
|
webVitalsAttribution: ['CLS', 'LCP'],
|
||||||
|
},
|
||||||
webpack(config) {
|
webpack(config) {
|
||||||
config.module.rules.push({
|
config.module.rules.push({
|
||||||
test: /\.svg$/i,
|
test: /\.svg$/i,
|
||||||
|
|||||||
@ -7,6 +7,7 @@ import '../styles/global.less';
|
|||||||
import '../styles/globals.scss';
|
import '../styles/globals.scss';
|
||||||
import '../styles/ant-overrides.scss';
|
import '../styles/ant-overrides.scss';
|
||||||
|
|
||||||
|
// TODO: Move this videojs sass to the player component.
|
||||||
import '../components/video/VideoJS/VideoJS.scss';
|
import '../components/video/VideoJS/VideoJS.scss';
|
||||||
|
|
||||||
import { AppProps } from 'next/app';
|
import { AppProps } from 'next/app';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user