remove es20xx prefixes from plugins and rename folders (#6575)

This commit is contained in:
Henry Zhu
2017-10-28 20:43:15 -04:00
committed by GitHub
parent 92a3caeb9c
commit 9ac326b075
1672 changed files with 1200 additions and 1203 deletions

View File

@@ -0,0 +1,11 @@
import last from "lodash/last"
export default class Container {
last(key) {
if (!this.has(key)) {
return;
}
return last(this.tokens.get(key))
}
}

View File

@@ -0,0 +1,30 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _last2 = babelHelpers.interopRequireDefault(require("lodash/last"));
let Container =
/*#__PURE__*/
function () {
function Container() {
babelHelpers.classCallCheck(this, Container);
}
babelHelpers.createClass(Container, [{
key: "last",
value: function last(key) {
if (!this.has(key)) {
return;
}
return (0, _last2.default)(this.tokens.get(key));
}
}]);
return Container;
}();
exports.default = Container;

View File

@@ -0,0 +1,3 @@
{
"plugins": ["external-helpers", "transform-function-name", "transform-classes", "proposal-decorators", "transform-modules-commonjs"]
}