How to exclude node_modules from distribution

inqs

Villager
Member
Joined
Feb 28, 2019
Messages
15
Reaction score
1
First Language
English
Primarily Uses
RMMV
How can I exclude unneeded items from node_modules in distributing my game?

I have made a small game using some javascript tools from node.js. I use webpack to compile these into javascript plugins. But when I start packaging my game for distribution using file-->deployment from the game editor and it seems to be including a ton of stuff from node_modules.

Is it possible to exclude that somehow?

Thanks.
 

Aloe Guvner

Walrus
Veteran
Joined
Sep 28, 2017
Messages
1,628
Reaction score
1,115
First Language
English
Primarily Uses
RMMV
You would do your plugin development in a different folder than where your game lives. As part of the webpack/plugin build process, copy the files that you need from your plugin dev folder to your project folder.
 

inqs

Villager
Member
Joined
Feb 28, 2019
Messages
15
Reaction score
1
First Language
English
Primarily Uses
RMMV
You would do your plugin development in a different folder than where your game lives. As part of the webpack/plugin build process, copy the files that you need from your plugin dev folder to your project folder.
Thanks. That makes sense.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,865
Messages
1,017,059
Members
137,574
Latest member
nikisknight
Top