survivejs / react-book

From apprentice to master (CC BY-NC-ND)

Home Page:https://survivejs.com/react/introduction/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Mistake] path.join

vjancik opened this issue · comments

Same as survivejs/webpack-book#78. Here.

If linux behavior:

> path.join('smth','too\else')
'smth/tooelse'

is any indication of what would happen on Windows, then this would happen on Windows:

> path.join('smth', 'app/main.css')
'smth\appmain.css'

Didn't actually test it though.

Yeah, I'll get these sorted out. Thanks. 👍

There is only one path.join left in this book now and even that is in the correct format.

Thanks for the report. Closing!