Skip to content

Commit 6b5099f

Browse files
committed
update 1.1.4 包版本更新,webpack => globalObject: 'this'
1 parent d2be91b commit 6b5099f

File tree

5 files changed

+5465
-20
lines changed

5 files changed

+5465
-20
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,4 @@ typings/
5959

6060
# next.js build output
6161
.next
62+
*.lock

dist/main.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+19-19
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-puzzle-vcode",
3-
"version": "1.1.3",
3+
"version": "1.1.4",
44
"description": "vue 滑动拼图验证码",
55
"main": "dist/main.js",
66
"files": [
@@ -28,37 +28,37 @@
2828
},
2929
"homepage": "https://github.com/javaLuo/vue-puzzle-vcode#readme",
3030
"dependencies": {
31-
"vue": "^2.6.11"
31+
"vue": "^2.6.12"
3232
},
3333
"devDependencies": {
34-
"@babel/core": "^7.9.6",
35-
"@babel/plugin-proposal-class-properties": "^7.8.3",
36-
"@babel/plugin-proposal-object-rest-spread": "^7.9.6",
34+
"@babel/core": "^7.11.6",
35+
"@babel/plugin-proposal-class-properties": "^7.10.4",
36+
"@babel/plugin-proposal-object-rest-spread": "^7.11.0",
3737
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
38-
"@babel/plugin-transform-runtime": "^7.9.6",
39-
"@babel/polyfill": "^7.8.7",
40-
"@babel/runtime": "^7.9.6",
38+
"@babel/plugin-transform-runtime": "^7.11.5",
39+
"@babel/polyfill": "^7.11.5",
40+
"@babel/runtime": "^7.11.2",
4141
"@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
4242
"@vue/babel-preset-jsx": "^1.1.2",
43-
"autoprefixer": "^9.7.6",
43+
"autoprefixer": "^9.8.6",
4444
"babel-loader": "^8.1.0",
4545
"babel-plugin-import": "^1.13.0",
4646
"babel-plugin-transform-decorators-legacy": "^1.3.5",
4747
"babel-preset-vue-app": "^2.0.0",
4848
"clean-webpack-plugin": "^3.0.0",
49-
"css-loader": "^3.5.3",
50-
"file-loader": "^6.0.0",
51-
"less": "^3.11.1",
52-
"less-loader": "^6.0.0",
53-
"postcss-loader": "^3.0.0",
49+
"css-loader": "^4.3.0",
50+
"file-loader": "^6.1.0",
51+
"less": "^3.12.2",
52+
"less-loader": "^7.0.1",
53+
"postcss-loader": "^4.0.1",
5454
"style-loader": "^1.2.1",
5555
"uglifyjs-webpack-plugin": "^2.2.0",
5656
"url-loader": "^4.1.0",
57-
"vue-loader": "^15.9.2",
58-
"vue-template-compiler": "^2.6.11",
59-
"webpack": "^4.43.0",
60-
"webpack-cli": "^3.3.11",
61-
"webpack-dev-server": "3.10.3"
57+
"vue-loader": "^15.9.3",
58+
"vue-template-compiler": "^2.6.12",
59+
"webpack": "^4.44.1",
60+
"webpack-cli": "^3.3.12",
61+
"webpack-dev-server": "3.11.0"
6262
},
6363
"browserslist": [
6464
"iOS >= 8",

webpack.production.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ module.exports = {
1414
publicPath: '/dist/',
1515
library: 'vue-puzzle-vcode',
1616
libraryTarget: 'umd',
17+
globalObject: 'this'
1718
// umdNamedDefine: true,
1819
},
1920
externals: {

0 commit comments

Comments
 (0)