UNPKG
@ovine-eason/core
Version:
latest (0.3.2)
0.3.2
0.3.1
0.3.0
0.2.9
0.2.8
0.2.7
0.2.6
0.1.9
Build flexible admin system with json.
CareyToboo/ovine
@ovine-eason/core
/
lib
/
app
/
entry_auto.js
16 lines
(15 loc)
•
358 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/** * app.auto 自动集成应用入口 */
import
"./includes"
;
import
"./auto"
;
if
(process.
env
.
HOT
) {
// Hot Module Replacement API
const
{ hot } =
module
;
if
(hot) { hot.
accept
(
(
err
) =>
{
// eslint-disable-next-line
console
.
error
(
'An error occurred when hot reload.'
, err); }); } }