MCPcopy
hub / github.com/refined-github/refined-github / entryFileNames

Function entryFileNames

rollup.config.js:52–62  ·  view source on GitHub ↗
(chunkInfo)

Source from the content-addressed store, hash-verified

50 preserveModulesRoot: 'source',
51 assetFileNames: '[name][extname]', // For CSS
52 entryFileNames(chunkInfo) {
53 if (chunkInfo.name.includes('node_modules')) {
54 const cleanName = chunkInfo.name
55 .split('/')
56 .filter(part => !noise.has(part))
57 .join('-');
58 return `npm/${cleanName}.js`;
59 }
60
61 return chunkInfo.name.replace('build/__snapshots__/', '') + '.js';
62 },
63 },
64 watch: {
65 clearScreen: false,

Callers

nothing calls this directly

Calls 2

includesMethod · 0.80
replaceMethod · 0.80

Tested by

no test coverage detected