2022-10-26 22:28:55 +02:00
|
|
|
// @ts-check
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @type {import('next').NextConfig}
|
|
|
|
**/
|
|
|
|
const nextConfig = {
|
2022-09-08 01:53:42 +02:00
|
|
|
compiler: {
|
2021-11-26 14:45:03 +01:00
|
|
|
reactRemoveProperties: true,
|
|
|
|
// Or, specify a custom list of regular expressions to match properties to remove.
|
|
|
|
// The regexes defined here are processed in Rust so the syntax is different from
|
|
|
|
// JavaScript `RegExp`s. See https://docs.rs/regex.
|
|
|
|
// reactRemoveProperties: { properties: ['^data-custom$'] },
|
|
|
|
},
|
|
|
|
}
|
2022-10-26 22:28:55 +02:00
|
|
|
|
|
|
|
module.exports = nextConfig
|