Browse Source

Retrieve the correct URL for downloading the CLI

master
Leo Lamprecht 8 years ago
parent
commit
8d427de1e3
  1. 2
      download/src/index.js
  2. 3
      download/webpack.js

2
download/src/index.js

@ -41,7 +41,7 @@ async function main() {
enableProgress('Downloading now CLI ' + packageJSON.version)
showProgress(0)
const { url } = asset
const url = asset.browser_download_url
const resp = await fetch(url)
if (resp.status !== 200) {

3
download/webpack.js

@ -35,7 +35,6 @@ module.exports = {
'process.env': {
NODE_ENV: JSON.stringify('production')
}
}),
new webpack.optimize.UglifyJsPlugin()
})
]
}

Loading…
Cancel
Save