mirror of
https://github.com/owncast/owncast.git
synced 2024-11-22 04:40:37 +03:00
Enable React strict mode
This commit is contained in:
parent
092db0df8d
commit
ec57feac94
1 changed files with 1 additions and 5 deletions
|
@ -2,6 +2,7 @@ const withLess = require('next-with-less');
|
|||
|
||||
module.exports = withLess({
|
||||
trailingSlash: true,
|
||||
reactStrictMode: true,
|
||||
webpack(config) {
|
||||
config.module.rules.push({
|
||||
test: /\.svg$/i,
|
||||
|
@ -9,11 +10,6 @@ module.exports = withLess({
|
|||
use: ['@svgr/webpack'],
|
||||
});
|
||||
|
||||
config.module.rules.push({
|
||||
test: /\.html/,
|
||||
type: 'asset/source',
|
||||
});
|
||||
|
||||
return config;
|
||||
},
|
||||
async rewrites() {
|
||||
|
|
Loading…
Reference in a new issue