Skip to content

Commit 9937176

Browse files
authored
fix Es6 code issue.
This file is not transpiled, so we should stick to ES5
1 parent 05148da commit 9937176

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/build/dev-client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint-disable */
22
'use strict'
33
require('eventsource-polyfill')
4-
const hotClient = require('webpack-hot-middleware/client?noInfo=true&reload=true')
4+
var hotClient = require('webpack-hot-middleware/client?noInfo=true&reload=true')
55

66
hotClient.subscribe(function (event) {
77
if (event.action === 'reload') {

0 commit comments

Comments
 (0)