mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-31 19:01:54 +02:00
chore: follow-up to Yarn update (#4478)
* fix(site): `require.resolve` webpack loader * chore: add pnp sdk * ci: cache dependencies * ci: add release `version` command
This commit is contained in:
@@ -5,7 +5,7 @@ module.exports = {
|
||||
webpack: config => {
|
||||
config.module.rules.push({
|
||||
test: /\.js$/,
|
||||
use: ['source-map-loader'],
|
||||
loader: require.resolve('source-map-loader'),
|
||||
enforce: 'pre',
|
||||
exclude: [/node_modules\/@next/, /node_modules\/next/],
|
||||
})
|
||||
|
Reference in New Issue
Block a user