From de1250ad92876f6bd2a233a3d36332b88c3785c3 Mon Sep 17 00:00:00 2001 From: Rajeev Pullat Date: Sat, 11 Jan 2025 21:46:08 +0530 Subject: [PATCH 1/2] chore(scripts): update npm scripts that use rimraf and glob patterns to use `--glob` option to `fix Illegal characters in path` error --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 841619841593..e4396aa74709 100644 --- a/package.json +++ b/package.json @@ -25,9 +25,9 @@ }, "scripts": { "clean-dist": "rimraf ./dist", - "clean-printable": "rimraf src/content/**/printable.mdx", + "clean-printable": "rimraf --glob src/content/**/printable.mdx", "preclean": "run-s clean-dist clean-printable", - "clean": "rimraf src/content/**/_*.mdx src/**/_*.json repositories/*.json", + "clean": "rimraf --glob src/content/**/_*.mdx src/**/_*.json repositories/*.json", "start": "npm run clean-dist && webpack serve --config webpack.dev.mjs --env dev --progress --define-process-env-node-env development", "content": "node src/scripts/build-content-tree.mjs ./src/content ./src/_content.json", "bundle-analyze": "run-s clean fetch content && webpack --config webpack.prod.mjs --define-process-env-node-env production && run-s printable content && webpack --config webpack.ssg.mjs --define-process-env-node-env production --env ssg --profile --json > stats.json && webpack-bundle-analyzer stats.json", From 19f44b14729429ad0d268994913294a1b25d8860 Mon Sep 17 00:00:00 2001 From: Rajeev Pullat Date: Sun, 12 Jan 2025 00:43:39 +0530 Subject: [PATCH 2/2] chore: Added to contributor's list --- src/content/guides/getting-started.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/content/guides/getting-started.mdx b/src/content/guides/getting-started.mdx index 5f0d559f1a1d..aec36705899e 100644 --- a/src/content/guides/getting-started.mdx +++ b/src/content/guides/getting-started.mdx @@ -27,6 +27,7 @@ contributors: - d3lm - snitin315 - Etheryen + - RajeevPullat --- Webpack is used to compile JavaScript modules. Once [installed](/guides/installation), you can interact with webpack either from its [CLI](/api/cli) or [API](/api/node). If you're still new to webpack, please read through the [core concepts](/concepts) and [this comparison](/comparison) to learn why you might use it over the other tools that are out in the community.