1.0.0 • Published 1 year ago

@wal-li/11ty-vite v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

11ty + Vite

Prerequisites

  • 11ty pre-release only: ^3.0.0-alpha.11

Concept

11ty > [html] > vite > [dist]

Usage

npm i -D @wal-li/11ty-vite

Eleventy Config file:

import vitePlugin from '@wal-li/11ty-vite';

export default function (eleventyConfig) {
  eleventyConfig.addPlugin(vitePlugin, {
    includes: ['src/**/*.ts', 'src/**/*.vue'],

    /* other vite options */
  });
}

License

MIT.

1.0.0

1 year ago