mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
We've seen test flakiness from the upstream AMP resource being unavailable so this pulls that resource to the repo and uses that instead. x-ref: [slack thread](https://vercel.slack.com/archives/C04KC8A53T7/p1711643629072819) Closes NEXT-2961
13 lines
273 B
JavaScript
13 lines
273 B
JavaScript
module.exports = {
|
|
webpack: (config) => {
|
|
config.experiments = config.experiments || {}
|
|
config.experiments.topLevelAwait = true
|
|
return config
|
|
},
|
|
experimental: {
|
|
amp: {
|
|
validator: require.resolve('../../lib/amp-validator-wasm.js'),
|
|
},
|
|
},
|
|
}
|