mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Show a redbox when specifying a non-existent plugin instead of crashing Turbopack The error location could be better, but we don't actually know the line/column here 
14 lines
246 B
JavaScript
14 lines
246 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
module.exports = {
|
|
experimental: {
|
|
swcPlugins: [
|
|
[
|
|
'@swc/plugin-react-remove-properties',
|
|
{
|
|
properties: ['^data-custom-attribute$'],
|
|
},
|
|
],
|
|
],
|
|
},
|
|
}
|