mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-15 11:44:05 +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({
|
config.module.rules.push({
|
||||||
test: /\.js$/,
|
test: /\.js$/,
|
||||||
enforce: 'pre',
|
enforce: 'pre',
|
||||||
exclude: [/node_modules\/@next/, /node_modules\/next/],
|
exclude: [/node_modules[\\\/]@next/, /node_modules[\\\/]next/],
|
||||||
use: [
|
use: [
|
||||||
{
|
{
|
||||||
loader: require.resolve('source-map-loader'),
|
loader: require.resolve('source-map-loader'),
|
||||||
|
Reference in New Issue
Block a user