This topic contains 3 replies, has 2 voices, and was last updated by Jai Jai 5 months, 1 week ago.

Running gulp generates all demos


  • dantemple
    Participant

    Posts: 1
    Member Reply #17613

    Hi.

    I’m trying to get set up with the html version of the theme. I’ve installed yarn and pulled in required packages. When I run gulp, the dist folder just fills up with all demo version. I have set config.demo in default.json to demo11, but this seems to be ignored?

    Wondering what I’m doing wrong?

    Jai
    Jai
    Keymaster

    Posts: 2700
    Support Staff Reply #17625

    Hi 🙂

    Thanks for your feedback.

    We will check it, and provide the fix.

    Thanks


    dantemple
    Participant

    Posts: 1
    Member Reply #17645

    Hi,

    Any update on this?

    Jai
    Jai
    Keymaster

    Posts: 2700
    Support Staff Reply #17655

    Hi 🙂

    We have fixed it, but we haven’t officially released any updates yet.

    You can check this file and patch this temporarily.

    tools/gulp/helpers.js

    getDemos: function() {
      var demos = this.getFolders(module.exports.rootPath + module.exports.demoPath);
     // build by demo, leave demo empty to generate all demos
     if (build.config.demo !== '') {
      demos = [build.config.demo];
     }
      return demos;
    },

    Thanks

You must be logged in to reply to this topic.