Skip to content

Commit

Permalink
fix!: don't export cleanUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Oct 30, 2023
1 parent 119b76b commit 1145f70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { transform } from 'lightningcss'
import { type Options, resolveOption } from './core/options'

const postfixRE = /[#?].*$/s
export function cleanUrl(url: string): string {
function cleanUrl(url: string): string {
return url.replace(postfixRE, '')
}

Expand Down

0 comments on commit 1145f70

Please sign in to comment.