Skip to content

Commit

Permalink
Add support for Vue CLI 3
Browse files Browse the repository at this point in the history
index.js - add return statement
package.json - bump version
README.md - add support flag
  • Loading branch information
creynir committed Apr 29, 2019
1 parent 1d6b637 commit 716507a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "vuex-socketio",
"description": "A Socket.io-client Plugin for Vuex",
"version": "0.3.5",
"main": "dist/build.js",
"version": "0.3.7",
"main": "dist/vuex-socketio.min.js",
"author": "Mikhail Rogov",
"license": "MIT",
"scripts": {
Expand All @@ -19,8 +19,7 @@
"url": "git+https://github.com/creynir/vuex-socketio.git"
},
"files": [
"dist",
"src"
"dist"
],
"dependencies": {
"socket.io-client": "^2.0.0"
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
entry: ['./src/index.js'],
output: {
path: path.resolve(__dirname, './dist'),
filename: 'vuex-socketio.js',
filename: 'vuex-socketio.min.js',
library: ['VuexSocketio'],
libraryTarget: 'umd'
},
Expand Down

0 comments on commit 716507a

Please sign in to comment.