Jump to content

Custom pixi build doesn't exclude modules and still creates full lib?


Recommended Posts

Hi, I'm trying to do a custom build of the pixi lib to optimize the filesize of the lib in a project. But for some reason it keeps on building the full lib (all modules), even though I have the -e or --exclude parameters added.

This is what I did so far (following the instructions on the Pixi Github page):
* downloading and unzipping the full pixi zip file (v4.2.2)
* in the root of the pixi folder: npm install (creating node modules folder)
* in the root of the pixi folder: npm run build -- -e extras -e interaction -e filters  (also tried: npm run build -- --exclude extras --exclude interaction --exclude filters)

For some reason this keeps on building the full pixi and minimize pixi files in the dist-folder, so it didn't exclude the modules mentioned.

I am trying to debug this at the moment, but I'm not very familiar with npm and so far I'm a little in the dark. I upgraded nodeJs to version 6.9.1 some days ago, so that should be ok.
Am I missing something here?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...