Skip to content

Commit 8440f50

Browse files
committed
pnp error: try requuire.resolve ?
1 parent 716517f commit 8440f50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/docusaurus-bundler/src/loaders/styleLoader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export async function createStyleLoadersFactory({
7070
ident: 'postcss',
7171
plugins: [
7272
[
73-
'postcss-preset-env',
73+
require.resolve('postcss-preset-env'),
7474
{
7575
// Keeping this empty options object on purpose
7676
// It could be more convenient for configurePostCss() usage

0 commit comments

Comments
 (0)