Forum Discussion

callum's avatar
callum
Helper II
9 years ago
Solved

.gitignore for custom visual

Hi,

 

I was surprised to see that the structure set up by running "pbiviz new ____" did not include a .gitignore file. As I've got no experience in creating custom visuals I'm not fully sure of wha can be safely excluded from git repositories. Obviously node_modules can be, but are there any other directories or files I should be ignoring?

 

Thanks

  • Hello callum,

     

    We use this .gitignore:

    node_modules
    .DS_Store
    .tmp
    dist
    typings
    .api
    *.log

    Ignat Vilesov,

    Software Engineer

     

    Microsoft Power BI Custom Visuals

    [email protected]

1 Reply

  • v-viig's avatar
    v-viig
    Community Champion

    Hello callum,

     

    We use this .gitignore:

    node_modules
    .DS_Store
    .tmp
    dist
    typings
    .api
    *.log

    Ignat Vilesov,

    Software Engineer

     

    Microsoft Power BI Custom Visuals

    [email protected]