Skip to content

Commit b4d5995

Browse files
Adding name in static files path (#3147)
1 parent bf36135 commit b4d5995

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package/rules/file.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ module.exports = {
1818
exclude: [/\.(js|mjs|jsx|ts|tsx)$/],
1919
type: 'asset/resource',
2020
generator: {
21-
filename: 'static/[hash][ext][query]'
21+
filename: 'static/[name]-[hash][ext][query]'
2222
}
2323
}

0 commit comments

Comments
 (0)