diff --git a/docs/assets/highlight.css b/docs/assets/highlight.css index b9d3517..8840a29 100644 --- a/docs/assets/highlight.css +++ b/docs/assets/highlight.css @@ -1,18 +1,18 @@ :root { --light-hl-0: #A31515; --dark-hl-0: #CE9178; - --light-hl-1: #AF00DB; - --dark-hl-1: #C586C0; - --light-hl-2: #000000; - --dark-hl-2: #D4D4D4; - --light-hl-3: #001080; - --dark-hl-3: #9CDCFE; - --light-hl-4: #795E26; - --dark-hl-4: #DCDCAA; - --light-hl-5: #008000; - --dark-hl-5: #6A9955; - --light-hl-6: #0000FF; - --dark-hl-6: #569CD6; + --light-hl-1: #0000FF; + --dark-hl-1: #569CD6; + --light-hl-2: #AF00DB; + --dark-hl-2: #C586C0; + --light-hl-3: #000000; + --dark-hl-3: #D4D4D4; + --light-hl-4: #001080; + --dark-hl-4: #9CDCFE; + --light-hl-5: #795E26; + --dark-hl-5: #DCDCAA; + --light-hl-6: #008000; + --dark-hl-6: #6A9955; --light-code-background: #FFFFFF; --dark-code-background: #1E1E1E; } diff --git a/docs/assets/search.js b/docs/assets/search.js index 2fba562..cc625ad 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1 +1 @@ -window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAE71bSY/iyBL+L8nVRZMrULdZDu9dZqTR6F1QCVHg6rYabGSbXqZU//0p7bQdYTLwgpkTTVcsX+QXERl2Ju8sTb5n7Hnzzr5G8YE9i4DFu1PIntm3KA+fzsfL5yh+2ien1ygOP2XpngXskh7ZMzslh8sxzD5ZuW0pt3Vy2yzdz7/kpyML2P64y7IwY8+MfQS1l8V6yXXj6+90F2dvSXr6w36vPOQ/zzfsIx2Pt4Cdd2kY5zdCaQAZraWp4Wy31vVoHLNafxAcbAmulm6g/XnOoyTOamxRnIfp225/A6BTuXeJ+EKoGgZMhIEQZqXusKWpwibg5Lv0c5iPRlSrTwvKm9SDsbWsTAox/HFO0nx0Ns0a/UlhHe6AdJgezv77YTScUvdeOAasTfi2uxyb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UgjdPQcKDlRRdytE/4aG4pQT0gW/ZpY81Qc+QFWdU0ZUn5CBxNEgcaqXrH1CAlQZ6nEq48kq2pzVxA7SXLu0kYaU+NAeogb6iKt3plVccgC5YLkUtdHnTHgAG7IhqjQWh7O56IKeLHr2ivqAIuAWBSlIv25WnmMAfKARNFUD5Sq1R0gDkkkoge7CDPIkenccq7YpjzNZWo4BLfUu7oDH1pJICdacpOmsLWBVA11TuN6pt6KCraSoHy5uwgE9QNpJK+PJ9I/C0BPsaFaK9pvlaX9MEHoGypFbYs64QqCvQahRwjVW779r93VD1UL6YReXUmg4Ct/EGrnVWxRW4YglcagXMUBt0dbK0b624AhVkqAoC545AEywB6bb6lRuIDfQXTpWee0mN3Kk+7mwmXg9OErQnTdHQCg+2UMcBlZDuyg3wB5JKU1irX1I3alDLuaTA1geaIJNBrxDVLEJBBr9nA9QAAJwq+FqzTSycYpx3wkR9PxOABw2Z3DjsMQZUWkxcJi8BO0fn8BjFIXvevHx8/B9lrwsq80EAAA=="; \ No newline at end of file +window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAE71by27byBL9l9aWVtRPSt7NY3HvZgYYDO5GMARZohMiMimQlJOMkX+/aLJJVlFd4kP0rGQl9ThVp7q6yG69syz9lrPH7Tv7GidH9igCluxfI/bI3uIiejifLp/j5OGQvj7HSfQpzw4sYJfsxB7Za3q8nKL8k5XbVXI7J7fLs8PyS/F6YgE7nPZ5HuXskbGfQeNltQm5bn39ne2T/CXNXv+w32sPxY/zDftIx+MtYOd9FiXFjVBaQEZraRo4u511PRnHotEfBQdbgtnSLbQ/z0WcJnmDLU6KKHvZH24AdCr3poivhGpgwEIYCWFR6Y5LTR02AafYZ5+jYjKiRn1WUOlblH3L4iKajAtamDdf3vU2Om0dK7NCjL6f06yYXOiLVn9eWMlLmh2m56zVnxXW4dtxMqRK9144pgVzjF72l1O7HF8uyaEUJ/E4jXtbFLF5nfv3rXP/lgWa8N/D2k1ltBIeEdr53sZ75Xd4yz1/alUpC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wkpzag5QA++aWr9Or7rjAHRBuhSV6OqqPQAMKkPUOZaEsrvsgZyuBnSA5oYi4BYEKkm9fF8dYwJ/AK+mFkD1Tq1V0gBkSBWQPdlBnsSAdmKV9uU5ZmcDUcClvqVd0ph5SkmBdacpOhsLWBVA11Ttt6pd6KCPGqoGq6uwgE+w3CRV8NULR+AJrBZDhWjvaT439zSBR6AsqQx78gqBugXqmrl037X7rl3TN9R6AD+vbe3DDZzQq97oomXYmRUCtw0HruXWizJwiyxwJRkwQ23X9ZHUocOUAivPUCsPHFgCTZA60m398zgQG1DjVErc223kTg1xZyv4eoySgAVN0dcJD+TFEc+pQnZ3dYA/UIyawlr/SrxVg1rOJQW2OQkFKwD0GFEPJhRk8EM4QA1IE6caRaPZJRYOjZV3ahk2FzsBeNDIyQ3nrbO2VjMvk6eAneNzdIqTiD1un37+/D8i5S3Dz0IAAA=="; \ No newline at end of file diff --git a/docs/functions/vite_plugin_combine_src.default.html b/docs/functions/vite_plugin_combine_src.default.html index 5bc0375..25b9afb 100644 --- a/docs/functions/vite_plugin_combine_src.default.html +++ b/docs/functions/vite_plugin_combine_src.default.html @@ -1 +1 @@ -
Generated using TypeDoc
Generated using TypeDoc
Options
a vite plugin
-import { defineConfig } from 'vite';
import cp from 'vite-plugin-cp';
export default defineConfig({
plugins: [
cp({
targets: [
// copy files of './node_modules/vite/dist' to 'dist/test'
{ src: './node_modules/vite/dist', dest: 'dist/test' },
// copy files of './node_modules/vite/dist' to 'dist/test2'
// and keep the directory structure of copied files
{ src: './node_modules/vite/dist', dest: 'dist/test2', flatten: false },
// copy './node_modules/vite/README.md' to 'dist'
{ src: './node_modules/vite/README.md', dest: 'dist' },
]
})
]
});
+Example
import { defineConfig } from 'vite';
import cp from 'vite-plugin-cp';
export default defineConfig({
plugins: [
cp({
targets: [
// copy files of './node_modules/vite/dist' to 'dist/test'
{ src: './node_modules/vite/dist', dest: 'dist/test' },
// copy files of './node_modules/vite/dist' to 'dist/test2'
// and keep the directory structure of copied files
{ src: './node_modules/vite/dist', dest: 'dist/test2', flatten: false },
// copy './node_modules/vite/README.md' to 'dist'
{ src: './node_modules/vite/README.md', dest: 'dist' },
]
})
]
});
-
Generated using TypeDoc
Generated using TypeDoc
Copy files and directories.