Skip to content

Commit 087027c

Browse files
authored
copy & useHash: false
Never applied postcss#146
1 parent c2523fb commit 087027c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/type/copy.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ module.exports = function processCopy(asset, dir, options, decl, warn, result, a
6060

6161
const assetRelativePath = options.useHash
6262
? getHashName(file, options.hashOptions)
63-
: asset.relativePath;
63+
// : asset.relativePath;
64+
: path.basename(file.path);
6465

6566
const targetDir = getTargetDir(dir);
6667
const newAssetBaseDir = getAssetsPath(targetDir, options.assetsPath);

0 commit comments

Comments
 (0)