1
0
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:
Kristoffer K
2021-09-02 13:42:45 +02:00
committed by GitHub
parent d338dcc7ce
commit 29473b0290
22 changed files with 504 additions and 4 deletions

View File

@@ -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/],
})