vite-plugin-build
vite-plugin-build copied to clipboard
Support for keeping 'use client' directive in fileBuild
With the introduction of the React Server Component in Next.js 13, I want to add 'use client' directive on the top of my file to signify the component is Client Component to support RSC.
Currently, the plugin will remove such of directives.