mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-13 18:53:59 +02:00
Fix sourcemap warnings in Windows (#5301)
https://github.com/ianstormtaylor/slate/issues/5300
This commit is contained in:
@@ -6,7 +6,7 @@ module.exports = {
|
||||
config.module.rules.push({
|
||||
test: /\.js$/,
|
||||
enforce: 'pre',
|
||||
exclude: [/node_modules\/@next/, /node_modules\/next/],
|
||||
exclude: [/node_modules[\\\/]@next/, /node_modules[\\\/]next/],
|
||||
use: [
|
||||
{
|
||||
loader: require.resolve('source-map-loader'),
|
||||
|
Reference in New Issue
Block a user