2022-08-31 23:41:22 +02:00
|
|
|
/** @type {import('next').NextConfig} */
|
2021-11-26 14:45:03 +01:00
|
|
|
module.exports = {
|
|
|
|
experimental: {
|
|
|
|
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$'] },
|
|
|
|
},
|
|
|
|
}
|