Skip to content

Commit d45b10e

Browse files
committed
fix: include empty string in regexp
1 parent c2e3e19 commit d45b10e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/codegen/styleInjection.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const { attrsToQuery } = require('./utils')
22
const hotReloadAPIPath = JSON.stringify(require.resolve('vue-hot-reload-api'))
3-
const allWhitespaceRE = /^\s+$/
3+
const allWhitespaceRE = /^\s*?$/
44

55
module.exports = function genStyleInjectionCode (
66
loaderContext,

0 commit comments

Comments
 (0)