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
|
|
@ -49,8 +49,8 @@
|
|||
|
||||
"use strict";
|
||||
|
||||
import Usr from "../../shared/es6/usrlib";
|
||||
import Web from "../../shared/es6/weblib";
|
||||
var Usr = require("../../shared/es6/usrlib");
|
||||
var Web = require("../../shared/es6/weblib");
|
||||
|
||||
/**
|
||||
* Since the Closure Compiler treats ES6 classes as @struct rather than @dict by default,
|
||||
|
|
@ -1053,4 +1053,4 @@ if (!Function.prototype.bind) {
|
|||
};
|
||||
}
|
||||
|
||||
export default Component;
|
||||
module.exports = Component;
|
||||
|
|
|
|||
Loading…
Reference in a new issue