@tarojs/runner-utils 3.5.0-canary.1 → 3.5.0-theta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +6 -6
- package/dist/resolve/MultiPlatformPlugin.js +1 -1
- package/dist/scss.js +1 -1
- package/package.json +3 -4
- package/types/index.d.ts +3 -3
- package/LICENSE +0 -21
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.MultiPlatformPlugin = exports.getSassLoaderOption = exports.getBundleResult = exports.getBundleContent = exports.DEFAULT_Components = void 0;
|
|
4
|
+
const constant_1 = require("./constant");
|
|
5
|
+
Object.defineProperty(exports, "DEFAULT_Components", { enumerable: true, get: function () { return constant_1.DEFAULT_Components; } });
|
|
6
|
+
const MultiPlatformPlugin_1 = require("./resolve/MultiPlatformPlugin");
|
|
7
|
+
Object.defineProperty(exports, "MultiPlatformPlugin", { enumerable: true, get: function () { return MultiPlatformPlugin_1.MultiPlatformPlugin; } });
|
|
4
8
|
const scss_1 = require("./scss");
|
|
5
|
-
Object.defineProperty(exports, "getBundleResult", { enumerable: true, get: function () { return scss_1.getBundleResult; } });
|
|
6
9
|
Object.defineProperty(exports, "getBundleContent", { enumerable: true, get: function () { return scss_1.getBundleContent; } });
|
|
10
|
+
Object.defineProperty(exports, "getBundleResult", { enumerable: true, get: function () { return scss_1.getBundleResult; } });
|
|
7
11
|
Object.defineProperty(exports, "getSassLoaderOption", { enumerable: true, get: function () { return scss_1.getSassLoaderOption; } });
|
|
8
|
-
const MultiPlatformPlugin_1 = require("./resolve/MultiPlatformPlugin");
|
|
9
|
-
Object.defineProperty(exports, "MultiPlatformPlugin", { enumerable: true, get: function () { return MultiPlatformPlugin_1.MultiPlatformPlugin; } });
|
|
10
|
-
const constant_1 = require("./constant");
|
|
11
|
-
Object.defineProperty(exports, "DEFAULT_Components", { enumerable: true, get: function () { return constant_1.DEFAULT_Components; } });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MultiPlatformPlugin = void 0;
|
|
4
|
-
const path = require("path");
|
|
5
4
|
const helper_1 = require("@tarojs/helper");
|
|
5
|
+
const path = require("path");
|
|
6
6
|
/**
|
|
7
7
|
* @description 此 enhance-resolve 插件用于根据当前编译的平台,解析多端文件的后缀
|
|
8
8
|
*
|
package/dist/scss.js
CHANGED
|
@@ -10,9 +10,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.getSassLoaderOption = exports.getBundleContent = exports.getBundleResult = void 0;
|
|
13
|
-
const scss_bundle_1 = require("scss-bundle");
|
|
14
13
|
const helper_1 = require("@tarojs/helper");
|
|
15
14
|
const path = require("path");
|
|
15
|
+
const scss_bundle_1 = require("scss-bundle");
|
|
16
16
|
/**
|
|
17
17
|
* Return bundled sass content.
|
|
18
18
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/runner-utils",
|
|
3
|
-
"version": "3.5.0-
|
|
3
|
+
"version": "3.5.0-theta.0",
|
|
4
4
|
"description": "Taro runner utilities.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "types/index.d.ts",
|
|
@@ -22,8 +22,7 @@
|
|
|
22
22
|
"author": "garfield550",
|
|
23
23
|
"license": "MIT",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@tarojs/helper": "
|
|
25
|
+
"@tarojs/helper": "workspace:*",
|
|
26
26
|
"scss-bundle": "^3.0.2"
|
|
27
|
-
}
|
|
28
|
-
"gitHead": "c61624d2f763e6d31e67d6cf9c564efc8b0d0887"
|
|
27
|
+
}
|
|
29
28
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getBundleResult, getBundleContent, getSassLoaderOption } from './scss';
|
|
2
|
-
import { MultiPlatformPlugin } from './resolve/MultiPlatformPlugin';
|
|
3
1
|
import { DEFAULT_Components } from './constant';
|
|
4
|
-
|
|
2
|
+
import { MultiPlatformPlugin } from './resolve/MultiPlatformPlugin';
|
|
3
|
+
import { getBundleContent, getBundleResult, getSassLoaderOption } from './scss';
|
|
4
|
+
export { DEFAULT_Components, getBundleContent, getBundleResult, getSassLoaderOption, MultiPlatformPlugin };
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2018
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|