Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

Commit

Permalink
chore: Update vue-runtime-helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
znck committed Jan 17, 2019
1 parent 3f6afd2 commit a5de6a4
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions example
Submodule example added at d43bbc
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"querystring": "^0.2.0",
"rollup-pluginutils": "^2.0.1",
"source-map": "0.7.3",
"vue-runtime-helpers": "^0.2.0"
"vue-runtime-helpers": "1.0.0"
},
"devDependencies": {
"@babel/core": "^7.0.0-beta.46",
Expand Down
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,11 @@ export default function vue(opts: VuePluginOptions = {}): Plugin {
d(`Build target: ${process.env.VUE_ENV || 'browser'}`)

if (!opts.normalizer)
opts.normalizer = '~' + 'vue-runtime-helpers/normalize-component.js'
opts.normalizer = '~' + 'vue-runtime-helpers/dist/normalize-component.js'
if (!opts.styleInjector)
opts.styleInjector = '~' + 'vue-runtime-helpers/inject-style/browser.js'
opts.styleInjector = '~' + 'vue-runtime-helpers/dist/inject-style/browser.js'
if (!opts.styleInjectorSSR)
opts.styleInjectorSSR = '~' + 'vue-runtime-helpers/inject-style/server.js'
opts.styleInjectorSSR = '~' + 'vue-runtime-helpers/dist/inject-style/server.js'

createVuePartRequest.defaultLang = {
...createVuePartRequest.defaultLang,
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10315,10 +10315,10 @@ vue-router@^3.0.1:
resolved "https://registry.yarnpkg.com/vue-router/-/vue-router-3.0.2.tgz#dedc67afe6c4e2bc25682c8b1c2a8c0d7c7e56be"
integrity sha512-opKtsxjp9eOcFWdp6xLQPLmRGgfM932Tl56U9chYTnoWqKxQ8M20N7AkdEbM5beUh6wICoFGYugAX9vQjyJLFg==

vue-runtime-helpers@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/vue-runtime-helpers/-/vue-runtime-helpers-0.2.0.tgz#8f8aa9e5ed40be2f3716c3ef8ee5e319290bedde"
integrity sha512-ZMFavDEqYrWxsWq5kLpvv5rjJbLf47V99t8p0G/ZEltx6PVSCXVvUC1yAOBiwLY3IEkUFRM8WUDlMasbsRhurA==
vue-runtime-helpers@1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/vue-runtime-helpers/-/vue-runtime-helpers-1.0.0.tgz#af5fe1c8d727beb680b2eb9d791c8e022342e54d"
integrity sha512-DgwCNgIXkq1GJsWwtFOjA/K2nxpjyon/QqAut0EiwrMHBatAPbfdqksDdRoK15b5YrSJRa59rx3pc0L6V4udUA==

vue-server-renderer@^2.5.16:
version "2.5.22"
Expand Down

0 comments on commit a5de6a4

Please sign in to comment.