1
0
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:
宋万盛
2023-02-20 23:46:57 +08:00
committed by GitHub
parent 967d99eb36
commit 54e4ee204c

View File

@@ -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'),