MCPcopy
hub / github.com/GrapesJS/grapesjs / rootResolve

Function rootResolve

packages/cli/src/utils.ts:100–100  ·  view source on GitHub ↗
(val: string)

Source from the content-addressed store, hash-verified

98};
99
100export const rootResolve = (val: string) => path.resolve(process.cwd(), val);
101
102export const originalRequire = () => {
103 // @ts-ignore need this to use the original 'require.resolve' as it's replaced by webpack

Callers 5

utils.spec.tsFile · 0.90
webpack.config.tsFile · 0.90
buildLocaleFunction · 0.90
buildDeclarationFunction · 0.90
buildWebpackFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected