vueface icon indicating copy to clipboard operation
vueface copied to clipboard

Building process - output file

Open Remeic opened this issue 7 years ago • 2 comments

At the moment, when we start npm run build webpack generate all the file, the problem is related to the name of js dist file, now is app.[chunk].js. This name does not allow us to set a correct entry point in the package.json ( main: '' )

We can consider to build lib in another way, maybe we can see at build process of Buefy.

Remeic avatar Sep 14 '18 07:09 Remeic

@Remeic Can you create the changes in a pull request. By the way, What would be the consequences of generating all the file

sudheerj avatar Sep 16 '18 17:09 sudheerj

@sudheerj I'll try to start trying something this week, with the work and the exams I have little time left, and in addition I do not even know myself, very well, how to change the build configuration.

Changes: now the build process, build vueface more like an application than a library, we have to move Vue to peerDependency instead dependency, because we don't want to ship the entire Vue lib inside Vueface, in addition the name of the output file is "app.[chunk].js".

This means that the name of file change frequently and we have to update every time the package.json with the new name of file ( for the "entry" key ) and is not good for us.

Remeic avatar Sep 16 '18 21:09 Remeic