File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 11Package . describe ( {
22 name : 'akryum:vue-component-dev-server' ,
3- version : '0.0.6 ' ,
3+ version : '0.0.7 ' ,
44 summary : 'Dev server for vue hot-reloading' ,
55 git : 'https://github.com/Akryum/meteor-vue-component' ,
66 documentation : 'README.md' ,
Original file line number Diff line number Diff line change @@ -16,11 +16,12 @@ const localIpSync = Meteor.wrapAsync(cb => {
1616 } )
1717} )
1818
19- // to define full url with port (example: https://dev.example.com:8443/)
20- const DEVURL = process . env . HMR_URL || process . env . VUE_DEV_SERVER_URL || localIpSync ( ) ;
21-
2219// to define only dev port with same url
2320const PORT = parseInt ( process . env . HMR_PORT ) || parseInt ( process . env . VUE_DEV_SERVER_PORT ) || getMeteorPort ( ) || 3003 ;
2421
22+ // to define full url with port (example: https://dev.example.com:8443) or only domain
23+ const DEVURL = process . env . HMR_URL || process . env . VUE_DEV_SERVER_URL || localIpSync ( ) ;
24+
25+
2526// Client-side config
26- __meteor_runtime_config__ . VUE_DEV_SERVER_URL = `${ DEVURL } :${ PORT } ` ;
27+ __meteor_runtime_config__ . VUE_DEV_SERVER_URL = DEVURL . indexOf ( ':' ) === - 1 ? `${ DEVURL } :${ PORT } ` : DEVURL ;
Original file line number Diff line number Diff line change 11Package . describe ( {
22 name : 'akryum:vue-component' ,
3- version : '0.8.16 ' ,
3+ version : '0.8.17 ' ,
44 summary : 'VueJS single-file components that hot-reloads' ,
55 git : 'https://github.com/Akryum/meteor-vue-component' ,
66 documentation : 'README.md'
@@ -43,6 +43,6 @@ Package.registerBuildPlugin({
4343Package . onUse ( function ( api ) {
4444 api . versionsFrom ( '1.4.2' ) ;
4545 api . use ( 'isobuild:compiler-plugin@1.0.0' ) ;
46- api . use ( 'akryum:vue-component-dev-server@0.0.6 ' ) ;
46+ api . use ( 'akryum:vue-component-dev-server@0.0.7 ' ) ;
4747 api . use ( 'akryum:vue-component-dev-client@0.2.9' ) ;
4848} ) ;
You can’t perform that action at this time.
0 commit comments