@dcloudio/uni-mp-xhs 2.0.1-alpha-34320220324001

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.
@@ -0,0 +1,4 @@
1
+ const compiler = require('@dcloudio/uni-mp-weixin/lib/uni.compiler.js')
2
+ module.exports = Object.assign({}, compiler, {
3
+ directive: 'xhs:'
4
+ })
@@ -0,0 +1,24 @@
1
+ module.exports = {
2
+ options: {
3
+ cssVars: {
4
+ '--status-bar-height': '25px',
5
+ '--window-top': '0px',
6
+ '--window-bottom': '0px',
7
+ '--window-left': '0px',
8
+ '--window-right': '0px'
9
+ },
10
+ extnames: {
11
+ style: '.css',
12
+ template: '.xhsml'
13
+ },
14
+ project: 'project.config.json',
15
+ subPackages: true
16
+ },
17
+ copyWebpackOptions (platformOptions, vueOptions) {
18
+ const copyOptions = ['xhscomponents']
19
+ global.uniModules.forEach(module => {
20
+ copyOptions.push('uni_modules/' + module + '/xhscomponents')
21
+ })
22
+ return copyOptions
23
+ }
24
+ }
package/package.json ADDED
@@ -0,0 +1,21 @@
1
+ {
2
+ "name": "@dcloudio/uni-mp-xhs",
3
+ "version": "2.0.1-alpha-34320220324001",
4
+ "description": "uni-app mp-xhs",
5
+ "main": "dist/index.js",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/dcloudio/uni-app.git",
9
+ "directory": "packages/uni-mp-xhs"
10
+ },
11
+ "scripts": {
12
+ "test": "echo \"Error: no test specified\" && exit 1"
13
+ },
14
+ "author": "txu",
15
+ "license": "Apache-2.0",
16
+ "uni-app": {
17
+ "name": "mp-xhs",
18
+ "title": "小红书小程序"
19
+ },
20
+ "gitHead": "9e2d0f8e244724fcd64880316c57d837d1778cf8"
21
+ }