Skip to content

Commit d2dc034

Browse files
Set "modules": false for babel-preset-env in .babelrc
1 parent 51db4b2 commit d2dc034

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Diff for: .babelrc

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{
22
"presets": [
3-
"env"
3+
["env", {
4+
"modules": false
5+
}]
46
]
57
}

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Alternately, you can link it directly from a CDN:
102102
That will always point to the latest version of vue-async-computed.
103103
You probably want to instead pin it to a specific version:
104104
-->
105-
<script src="https://unpkg.com/[email protected].0"></script>
105+
<script src="https://unpkg.com/[email protected].1"></script>
106106
````
107107
108108
When used with a module system such as `webpack` or `browserify`, you need to explicitly install `vue-async-computed` via `Vue.use()`:

0 commit comments

Comments
 (0)