Skip to content
This repository was archived by the owner on Dec 3, 2021. It is now read-only.

Commit c64693e

Browse files
committed
chore(build/vendors): removes hash tag from urls in css files
1 parent 60f741c commit c64693e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/vendors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ const findVendors = () => {
8989
let subVendor = []
9090
if (assetPath !== undefined) {
9191
// console.log(assetPath)
92-
const path = assetPath.replace(/\?.*/, '').replace(/\'|\"/, '')
92+
const path = assetPath.replace(/\?.*|#.*/, '').replace(/\'|\"/, '')
9393
subVendor['name'] = name
9494
subVendor['filetype'] = 'other'
9595
subVendor['src'] = normalize(`css/${path}`)

0 commit comments

Comments
 (0)