1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-30 10:29:48 +02:00

Upgrade next.js to 12 and related packages (#5042)

* Upgrade next.js and source-map-loader

* Add changeset

* Upgrade eslint and typescript

* improve reliability of iframe test

* fix lint
This commit is contained in:
Bryan Haakman
2022-07-15 15:14:18 +02:00
committed by GitHub
parent f96b659755
commit 11a93e65de
31 changed files with 817 additions and 1396 deletions

View File

@@ -5,9 +5,13 @@ module.exports = {
webpack: config => {
config.module.rules.push({
test: /\.js$/,
loader: require.resolve('source-map-loader'),
enforce: 'pre',
exclude: [/node_modules\/@next/, /node_modules\/next/],
use: [
{
loader: require.resolve('source-map-loader'),
},
],
})
return config
},