We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7efc10 commit 756d386Copy full SHA for 756d386
packages/gatsby-source-filesystem/src/extend-file-node.js
@@ -14,7 +14,7 @@ module.exports = ({ type, getNodeAndSavePathDependency, pathPrefix = `` }) => {
14
description: `Copy file to static directory and return public url to it`,
15
resolve: (file, fieldArgs, context) => {
16
const details = getNodeAndSavePathDependency(file.id, context.path)
17
- const fileName = `${file.name}-${file.internal.contentDigest}${details.ext}`
+ const fileName = `${file.internal.contentDigest}/${details.base}`
18
19
const publicPath = path.join(
20
process.cwd(),
0 commit comments