Skip to content

Commit

Permalink
pnp error: try requuire.resolve ?
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Nov 15, 2024
1 parent 716517f commit 8440f50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docusaurus-bundler/src/loaders/styleLoader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export async function createStyleLoadersFactory({
ident: 'postcss',
plugins: [
[
'postcss-preset-env',
require.resolve('postcss-preset-env'),
{
// Keeping this empty options object on purpose
// It could be more convenient for configurePostCss() usage
Expand Down

0 comments on commit 8440f50

Please sign in to comment.