@daklang/rollup
v0.9.0
Published
Rollup & Vite Plugin for Dak
Downloads
17
Readme
@daklang/rollup
This package provides a Rollup / Vite compatible plugin for the Dak Language.
Vite
// vite.config.js
import { defineConfig } from 'vite'
import { dakPlugin } from '@daklang/rollup'
export default defineConfig({
plugins: [dakPlugin()],
})
This is the recommended setup for building browser based applications in Dak.
Rollup
// rollup.config.js
import { dakPlugin } from '@daklang/rollup'
export default {
plugins: [dakPlugin()],
}