publish creates sub-folders for everything static
evantahler opened this issue · 2 comments
evantahler commented
Now, when you publish, static assets end up in sub folders. This means the template cannot load files properly.
Expected: scripts/prettify/prettify.js
Actual: scripts/prettify/prettify.js/prettify.js
ar2rsawseen commented
Hello,
what is your OS and nodejs version?
I seem to have such problem on Windows, but on Linux all works correctly.
Just trying to gather more info on what it depends
ar2rsawseen commented
Ok, it seems to be a bug with copyFileSync specifically, copyFile works normally, so changed to that and it seems to fix it:
8e77ad8