[Pkg-javascript-devel] RFS: vue.js

Paolo Greppi paolo.greppi at libpf.com
Mon Jan 8 10:06:49 UTC 2018


Il 08/01/2018 10:53, Pirate Praveen ha scritto:
> On തിങ്കള്‍ 08 ജനുവരി 2018 02:40 വൈകു, Paolo Greppi wrote:
>> Hi, I have packaged the vue.js library:
>> https://anonscm.debian.org/git/pkg-javascript/vue.js.git
>>
>> It currently only provides the full UMD browser build, and it's built with webpack instead of rollup (that means the file is 468k rather than 279k)
>> Hopefully the package will get better with time as we get more tools in debian.
>>
>> Please someone sponsor the upload.
> 
> 
> Please provide node-vue binary as well. gitlab runs webpack for its node
> dependencies and vue is needed for gitlab.
> 
>> Paolo

AFAICT upstream does not provide anything that can run in node: all files in dist run in the browser
https://github.com/vuejs/vue/tree/dev/dist
i.e. there is nothing you can run node -e "require('vue');" against

Perhaps what you want is the "ES Module" build, which is "intended for use with modern bundlers like webpack 2 or rollup"

The vue.esm.js file could be installed by the libjs-vue binary.
It's probably possible to build it with webpack too.
Is that acceptable ?

Paolo





More information about the Pkg-javascript-devel mailing list