MCPcopy Create free account
hub / github.com/adobe/react-spectrum / rename

Function rename

packages/dev/parcel-packager-ssg/SSGPackager.js:295–297  ·  view source on GitHub ↗
(bundle)

Source from the content-addressed store, hash-verified

293}
294
295function rename(bundle) {
296 return bundle.name.slice(0, -path.extname(bundle.name).length) + '.html';
297}
298
299function getImageURL(image, bundleGraph, bundle) {
300 if (!image) {

Callers 1

packageFunction · 0.85

Calls 1

sliceMethod · 0.80

Tested by

no test coverage detected