Docz: Putting `dist` as `./` removes all files

Created on 17 Jun 2018  路  3Comments  路  Source: doczjs/docz

Bug Report

  1. Set "dist": "./"
  2. Run docz build
  3. Everything except node_modules is removed.

Expected behavior

Docs are compiled to "./", or a warning is thrown. No files should be deleted.

Luckily this happened when i was playing around but it could be devastating if you aren't using git correctly 馃槃

bug

All 3 comments

@albinekb I noticed when I run yarn build than yarn dev everything gets deleted.

Do we know what the fix is for this @albinekb ?

Fixed on v0.6.0 馃殌

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bichotll picture bichotll  路  3Comments

tsnolan23 picture tsnolan23  路  3Comments

mquandalle picture mquandalle  路  3Comments

merelinguist picture merelinguist  路  3Comments

fenbka picture fenbka  路  3Comments