Skip to content

Commit

Permalink
fix: fix isAsset test false positive (#359)
Browse files Browse the repository at this point in the history
  • Loading branch information
csr632 authored Jun 8, 2020
1 parent a8c22de commit 47923c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node/utils/cssUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
import { hmrClientPublicPath } from '../server/serverPluginHmr'

export const urlRE = /(url\(\s*['"]?)([^"')]+)(["']?\s*\))/
export const cssPreprocessLangRE = /(.+).(less|sass|scss|styl|stylus|postcss)$/
export const cssPreprocessLangRE = /(.+)\.(less|sass|scss|styl|stylus|postcss)$/

type Replacer = (url: string) => string | Promise<string>

Expand Down

0 comments on commit 47923c7

Please sign in to comment.