vite-plugin-build icon indicating copy to clipboard operation
vite-plugin-build copied to clipboard

Support for keeping 'use client' directive in fileBuild

Open mddanish00 opened this issue 2 years ago • 0 comments

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.

mddanish00 avatar Nov 12 '23 02:11 mddanish00