swc/crates/swc_ecma_minifier/tests/fixture/issues/5693/input.js
Donny/강동윤 4e656af1ec
feat(es/minifier): Drop variable from the sequential inliner (#5896)
**Description:**

We now drop variable declarations if we are going to eliminate the only usage.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/5693.
2022-09-19 07:40:04 +00:00

5 lines
189 B
JavaScript

API.prototype._getIngestEndpoint = function (target) {
var base = this.getBaseApiEndpoint();
var dsn = this._dsnObject;
return "" + base + dsn.projectId + "/" + target + "/";
};