Skip to content

Commit

Permalink
chore(deps): remove unused process dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
alicewriteswrongs committed Jun 7, 2023
1 parent cf0160f commit 3ab33e9
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 19 deletions.
16 changes: 0 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@
"pixelmatch": "5.3.0",
"postcss": "^8.2.8",
"prettier": "2.8.8",
"process": "^0.11.10",
"prompts": "2.4.2",
"puppeteer": "^20.0.0",
"rollup": "2.42.3",
Expand Down
1 change: 0 additions & 1 deletion scripts/bundles/plugins/typescript-source-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ async function bundleTypeScriptSource(tsPath: string, opts: BuildOptions): Promi
const o: string[] = [];
o.push(`// TypeScript ${opts.typescriptVersion}`);
o.push(`import { IS_NODE_ENV } from '@environment';`);
o.push(`process.browser = !IS_NODE_ENV;`);
o.push(code);
o.push(`export default ts;`);
code = o.join('\n');
Expand Down
1 change: 0 additions & 1 deletion scripts/bundles/sys-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ function bundleExternal(opts: BuildOptions, outputDir: string, cachedDir: string
},
fallback: {
assert: require.resolve('assert'),
process: require.resolve('process/browser'),
},
},
optimization: {
Expand Down

0 comments on commit 3ab33e9

Please sign in to comment.