vbenjs / vite-plugin-html

A vite plugin for processing html. It is developed based on lodash template
MIT License
554 stars 92 forks source link

Unable generate files depends on filename and template #105

Open igorstasiuk opened 1 year ago

igorstasiuk commented 1 year ago

For prod i have this config

{
pages: [                                                                                                                                                                                                                       
  {
    filename: 'dist/app.html',
    template: 'index.prod.html'
  },
  {
    filename: 'dist/app-newsletter.html',
    template: 'index.prod.html'
  },
  {
    filename: 'dist/app-wishlist.html',
    template: 'index.prod.html'
  },
  {
    filename: 'dist/app-offer.html',
    template: 'index.prod.html'
  }
]
}

But as result, i got only one file as result:

image

The same problem is when i'm running for dev, it's not generating files at all :/