Skip to content

Commit

Permalink
copy & useHash: false
Browse files Browse the repository at this point in the history
Never applied postcss#146
  • Loading branch information
TigersWay committed Jun 28, 2022
1 parent c2523fb commit 087027c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/type/copy.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ module.exports = function processCopy(asset, dir, options, decl, warn, result, a

const assetRelativePath = options.useHash
? getHashName(file, options.hashOptions)
: asset.relativePath;
// : asset.relativePath;
: path.basename(file.path);

const targetDir = getTargetDir(dir);
const newAssetBaseDir = getAssetsPath(targetDir, options.assetsPath);
Expand Down

0 comments on commit 087027c

Please sign in to comment.