Skip to content

Commit af26a06

Browse files
committed
do not include hot-reload for server
1 parent 584189c commit af26a06

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/loader.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ module.exports = function (content) {
200200
'module.exports = __exports__'
201201
// hot reload
202202
if (
203+
!isServer &&
203204
!this.minimize &&
204205
process.env.NODE_ENV !== 'production' &&
205206
(parts.script || parts.template)

0 commit comments

Comments
 (0)