wingsuit-designsystem / wingsuit

Twig for Storybook
GNU General Public License v2.0
92 stars 16 forks source link

When using the `yarn ws generate-component` behaviour file should not be referenced with .js at the end #47

Closed GiorgosK closed 3 years ago

GiorgosK commented 4 years ago

running yarn ws generate-component create reference in index.js such as this

import './_status.behavior.js';

and the storybook watcher/builder complains with

  5:8  error  Unexpected use of file extension "js" for "./_status.behavior.js"  import/extensions

✖ 1 problem (1 error, 0 warnings)

deleting the .js part makes the problem go away but perhaps the component generator should be corrected to not include the file ending

christianwiedemann commented 4 years ago

this is already fixed in beta10.

GiorgosK commented 4 years ago

I did yarn upgrade and it updated some packages it seems I did it less than 11 hours ago (that beta 10 was released) should I be doing anything else ?

christianwiedemann commented 3 years ago

@GiorgosK Please reopen if you have problems.