magesuite / theme-creativeshop

Open Software License 3.0
38 stars 24 forks source link

Biding multiple theme in parallel #61

Open shakhmehedi opened 3 years ago

shakhmehedi commented 3 years ago

Hi, I am new to gulp and theme-creativeshop.

I have created 4 children theme as described in the readme file. Each theme has node_modules directory that contains over 28k files. I have over 140k files just on in node_modules directories.

Am I missing something? Is it possible to package.json in the Magento root and install node modules once and reuse them when building child and parent themes?

Is it possible to build/watch all theme with single commands?

Thanks, Shakh

mborkowski commented 3 years ago

Hello @shakhmehedi This is not possible due to the relative locations. If you get rid of any of them, your theme won't build anymore