damonbauer / npm-build-boilerplate

A collection of packages that build a website using npm scripts.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HTML from nested Folder not working

sathishk opened this issue · comments

If we keep any HTML files inside a nested folder, then build is not picking the same.

For Eg,

src
   pages
       page1.html
   index.html

then the only index.html gets copied to dist folder. While searching this issue, I found this useful link. https://stackoverflow.com/questions/42572806/npm-copyfiles-not-correct-target-path