Created
June 28, 2022 18:06
-
-
Save lior-amsalem/2fa6762270ef692a63a6798f92455021 to your computer and use it in GitHub Desktop.
vite-plugin-example.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function myPlugin(): Plugin { | |
return { | |
name: "examples of plugin api", | |
transform: () => { | |
console.log("transform!"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment