Skip to content

Commit d8f27f8

Browse files
authored
Merge pull request #4 from vuex-orm/bug/async
Added Babel RunTime for Vue Cli Projects
2 parents 5e04041 + beb2894 commit d8f27f8

File tree

4 files changed

+15
-888
lines changed

4 files changed

+15
-888
lines changed

.babelrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11

22
{
3-
"presets": ["@babel/preset-env"]
3+
"presets": ["@babel/preset-env"],
4+
"plugins": ["transform-runtime"]
45
}

dist/index.js

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

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vuex-orm/plugin-axios",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Vuex-ORM Plugin to sync the data against a RESTful API.",
55
"main": "dist/index.js",
66
"scripts": {
@@ -10,7 +10,6 @@
1010
"test": "jest"
1111
},
1212
"repository": {
13-
"type": "git",
1413
"type": "git+https://github.com/vuex-orm/plugin-axios.git"
1514
},
1615
"keywords": [
@@ -32,14 +31,15 @@
3231
"dependencies": {
3332
"@babel/preset-env": "^7.0.0",
3433
"@vuex-orm/core": "^0.26.2",
35-
"lodash": "^4.17.11",
36-
"axios": "^0.18.0"
34+
"axios": "^0.18.0",
35+
"lodash": "^4.17.11"
3736
},
3837
"devDependencies": {
3938
"@babel/core": "^7.0.0",
4039
"babel-core": "7.0.0-bridge.0",
4140
"babel-jest": "^23.4.2",
4241
"babel-loader": "^8.0.0",
42+
"babel-plugin-transform-runtime": "^6.23.0",
4343
"babel-preset-env": "^1.7.0",
4444
"eslint": "^5.4.0",
4545
"eslint-config-airbnb": "^17.1.0",

0 commit comments

Comments
 (0)