Let's switch from import back to require, to simplify future Node support
This commit is contained in:
parent
28f47a3424
commit
5e2073f3ac
37 changed files with 179 additions and 166 deletions
|
|
@ -28,8 +28,8 @@
|
|||
|
||||
"use strict";
|
||||
|
||||
import Web from "../../shared/es6/weblib";
|
||||
import Component from "../../shared/es6/component";
|
||||
var Web = require("../../shared/es6/weblib");
|
||||
var Component = require("../../shared/es6/component");
|
||||
|
||||
class State {
|
||||
/**
|
||||
|
|
@ -392,4 +392,4 @@ class State {
|
|||
}
|
||||
}
|
||||
|
||||
export default State;
|
||||
module.exports = State;
|
||||
|
|
|
|||
Loading…
Reference in a new issue