boka-human-cliend-v2 0.0.21 → 0.0.22
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/boka-human-v2.common.js +16 -16
- package/dist/boka-human-v2.css +509 -1
- package/dist/boka-human-v2.umd.js +16 -16
- package/dist/boka-human-v2.umd.min.js +2 -2
- package/package.json +4 -1
- package/src/BokaHumanV2.vue +1 -1
- package/vue.config.js +5 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "boka-human-cliend-v2",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.22",
|
|
4
4
|
"main": "dist/boka-human-v2.umd.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"serve": "vue-cli-service serve src/demo/main.js",
|
|
@@ -12,6 +12,9 @@
|
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"@vue/cli-service": "^4.5.0",
|
|
15
|
+
"less": "^3.13.1",
|
|
16
|
+
"less-loader": "^4.1.0",
|
|
17
|
+
"vue-loader": "^17.4.2",
|
|
15
18
|
"vue-template-compiler": "^2.6.0"
|
|
16
19
|
},
|
|
17
20
|
"dependencies": {
|
package/src/BokaHumanV2.vue
CHANGED
package/vue.config.js
CHANGED
|
@@ -12,18 +12,13 @@ module.exports = {
|
|
|
12
12
|
// 让 UMD 构建支持在浏览器和 Node.js 环境中使用
|
|
13
13
|
umdNamedDefine: true
|
|
14
14
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
commonjs: 'vue',
|
|
20
|
-
commonjs2: 'vue',
|
|
21
|
-
amd: 'vue',
|
|
22
|
-
root: 'Vue' // 全局变量名
|
|
15
|
+
},
|
|
16
|
+
css: {
|
|
17
|
+
loaderOptions: {
|
|
18
|
+
less: {
|
|
23
19
|
}
|
|
24
|
-
}
|
|
20
|
+
}
|
|
25
21
|
},
|
|
26
|
-
|
|
27
22
|
chainWebpack: config => {
|
|
28
23
|
// 修改入口文件
|
|
29
24
|
config.entry('app').clear().add(path.resolve(__dirname, 'src/index.js'))
|