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

Commit 63b3f7b

Browse files
committed
support Vue 2.0
1 parent aa0c205 commit 63b3f7b

File tree

15 files changed

+157
-416
lines changed

15 files changed

+157
-416
lines changed

index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ module.exports = function vueify (file, options) {
2424

2525
compiler.compile(data, file, function(error, result) {
2626
compiler.removeListener('dependency', dependency)
27-
if (error) stream.emit('error', error)
27+
if (error) {
28+
stream.emit('error', error)
29+
// browserify doesn't log the stack by default...
30+
console.error(error.stack.replace(/^.*?\n/, ''))
31+
}
2832
stream.queue(result)
2933
stream.queue(null)
3034
})

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy