elegantthemes / create-divi-extension

MIT License
185 stars 58 forks source link

Zip build :: NPM modules and custom JS files :: .zip build #131

Open MarieComet opened 6 years ago

MarieComet commented 6 years ago

Problem Description

Steps To Reproduce

  1. add dependency in package.json, for example 'slick-carousel'
    "dependencies": {
    "divi-scripts": "1.0.0",
    "react": "^16.4.1",
    "react-dom": "^16.4.1",
    "slick-carousel": "^1.8.1"
    },

    In development mode slick is loaded, but not when using the zip plugin created by npm run zip

alainwoll commented 6 years ago

try with yarn zip and mode administrator

MarieComet commented 6 years ago

Hi @alainwoll, same result using yarn instead of npm. No dependencies, customs scripts deleted.

alainwoll commented 6 years ago

OK, if it's a WIN 10 environment, for me it does not work.

MarieComet commented 6 years ago

I'm on Linux, Ubuntu.