├── .commitlintrc.js ├── .eslintignore ├── .eslintrc.js ├── .github └── workflows │ └── release.yaml ├── .gitignore ├── .husky ├── commit-msg ├── pre-commit └── pre-push ├── LICENSE ├── README.md ├── README.zh-CN.md ├── changelog.ts ├── package.json ├── playground ├── App.vue ├── env.d.ts ├── index.html ├── main.ts ├── src │ ├── index.less │ ├── index.ts │ └── styles │ │ ├── index.less │ │ ├── other.css │ │ └── test.scss ├── views │ └── info.vue └── vite.config.ts ├── pnpm-lock.yaml ├── src ├── index.ts └── typing.ts ├── test ├── build.test.ts ├── fixtures │ ├── index.html │ └── src │ │ ├── index.less │ │ ├── index.ts │ │ └── styles │ │ ├── index.less │ │ ├── other.css │ │ └── test.scss └── info.test.ts └── tsconfig.json /.commitlintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistjs/vite-plugin-copy-files/HEAD/.commitlintrc.js -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistjs/vite-plugin-copy-files/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/workflows/release.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistjs/vite-plugin-copy-files/HEAD/.github/workflows/release.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistjs/vite-plugin-copy-files/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistjs/vite-plugin-copy-files/HEAD/.husky/commit-msg -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistjs/vite-plugin-copy-files/HEAD/.husky/pre-commit -------------------------------------------------------------------------------- /.husky/pre-push: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | pnpm test:run 5 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistjs/vite-plugin-copy-files/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistjs/vite-plugin-copy-files/HEAD/README.md -------------------------------------------------------------------------------- /README.zh-CN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistjs/vite-plugin-copy-files/HEAD/README.zh-CN.md -------------------------------------------------------------------------------- /changelog.ts: -------------------------------------------------------------------------------- 1 | export default { 2 | github: 'mistjs/vite-plugin-copy-files', 3 | } 4 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistjs/vite-plugin-copy-files/HEAD/package.json -------------------------------------------------------------------------------- /playground/App.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistjs/vite-plugin-copy-files/HEAD/playground/App.vue -------------------------------------------------------------------------------- /playground/env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /playground/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistjs/vite-plugin-copy-files/HEAD/playground/index.html -------------------------------------------------------------------------------- /playground/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistjs/vite-plugin-copy-files/HEAD/playground/main.ts -------------------------------------------------------------------------------- /playground/src/index.less: -------------------------------------------------------------------------------- 1 | .a{ 2 | background: #fff; 3 | } -------------------------------------------------------------------------------- /playground/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistjs/vite-plugin-copy-files/HEAD/playground/src/index.ts -------------------------------------------------------------------------------- /playground/src/styles/index.less: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /playground/src/styles/other.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /playground/src/styles/test.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /playground/views/info.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistjs/vite-plugin-copy-files/HEAD/playground/views/info.vue -------------------------------------------------------------------------------- /playground/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistjs/vite-plugin-copy-files/HEAD/playground/vite.config.ts -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistjs/vite-plugin-copy-files/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistjs/vite-plugin-copy-files/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/typing.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistjs/vite-plugin-copy-files/HEAD/src/typing.ts -------------------------------------------------------------------------------- /test/build.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistjs/vite-plugin-copy-files/HEAD/test/build.test.ts -------------------------------------------------------------------------------- /test/fixtures/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistjs/vite-plugin-copy-files/HEAD/test/fixtures/index.html -------------------------------------------------------------------------------- /test/fixtures/src/index.less: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistjs/vite-plugin-copy-files/HEAD/test/fixtures/src/index.ts -------------------------------------------------------------------------------- /test/fixtures/src/styles/index.less: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/src/styles/other.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/src/styles/test.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/info.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistjs/vite-plugin-copy-files/HEAD/test/info.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mistjs/vite-plugin-copy-files/HEAD/tsconfig.json --------------------------------------------------------------------------------