1 | "use strict";
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 | exports.default = void 0;
|
7 |
|
8 | function _path() {
|
9 | const data = _interopRequireDefault(require("path"));
|
10 |
|
11 | _path = function () {
|
12 | return data;
|
13 | };
|
14 |
|
15 | return data;
|
16 | }
|
17 |
|
18 | var _assetPathUtils = _interopRequireDefault(require("./assetPathUtils"));
|
19 |
|
20 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 | function getAssetDestPathAndroid(asset, scale) {
|
30 | const androidFolder = _assetPathUtils.default.getAndroidResourceFolderName(asset, scale);
|
31 |
|
32 | const fileName = _assetPathUtils.default.getAndroidResourceIdentifier(asset);
|
33 |
|
34 | return _path().default.join(androidFolder, `${fileName}.${asset.type}`);
|
35 | }
|
36 |
|
37 | var _default = getAssetDestPathAndroid;
|
38 | exports.default = _default; |
\ | No newline at end of file |