├── .gitignore ├── CHANGELOG.md ├── README.md ├── README.zh-CN.md ├── index.ts ├── package.json ├── presets ├── .gitignore ├── ant-design-vue-v1.js ├── ant-design-vue-v3.js ├── ant-design-vue-v4.js ├── antd-v4.js ├── axios-v0.js ├── axios-v1.js ├── element-plus-v2.js ├── element-ui-v2.js ├── index.d.ts ├── index.js ├── index.js.snap ├── pinia-v2.js ├── react-dom-v17.js ├── react-dom-v18.js ├── react-router-dom-v5.js ├── react-router-dom-v6.js ├── react-router-v5.js ├── react-router-v6.js ├── react-v17.js ├── react-v18.js ├── redux-v5.js ├── vue-composition-api-v1.js ├── vue-demi-v2.7.js ├── vue-demi-v2.js ├── vue-demi-v3.js ├── vue-router-v3.js ├── vue-router-v4.js ├── vue-v2.js ├── vue-v2_7.js ├── vue-v3.js ├── vuex-v3.js └── vuex-v4.js ├── test ├── -.js ├── .gitignore └── index.mjs ├── tsconfig.json └── vite.config.ts /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/README.md -------------------------------------------------------------------------------- /README.zh-CN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/README.zh-CN.md -------------------------------------------------------------------------------- /index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/index.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/package.json -------------------------------------------------------------------------------- /presets/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/presets/.gitignore -------------------------------------------------------------------------------- /presets/ant-design-vue-v1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/presets/ant-design-vue-v1.js -------------------------------------------------------------------------------- /presets/ant-design-vue-v3.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/presets/ant-design-vue-v3.js -------------------------------------------------------------------------------- /presets/ant-design-vue-v4.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/presets/ant-design-vue-v4.js -------------------------------------------------------------------------------- /presets/antd-v4.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/presets/antd-v4.js -------------------------------------------------------------------------------- /presets/axios-v0.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/presets/axios-v0.js -------------------------------------------------------------------------------- /presets/axios-v1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/presets/axios-v1.js -------------------------------------------------------------------------------- /presets/element-plus-v2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/presets/element-plus-v2.js -------------------------------------------------------------------------------- /presets/element-ui-v2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/presets/element-ui-v2.js -------------------------------------------------------------------------------- /presets/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/presets/index.d.ts -------------------------------------------------------------------------------- /presets/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/presets/index.js -------------------------------------------------------------------------------- /presets/index.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/presets/index.js.snap -------------------------------------------------------------------------------- /presets/pinia-v2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/presets/pinia-v2.js -------------------------------------------------------------------------------- /presets/react-dom-v17.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/presets/react-dom-v17.js -------------------------------------------------------------------------------- /presets/react-dom-v18.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/presets/react-dom-v18.js -------------------------------------------------------------------------------- /presets/react-router-dom-v5.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/presets/react-router-dom-v5.js -------------------------------------------------------------------------------- /presets/react-router-dom-v6.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/presets/react-router-dom-v6.js -------------------------------------------------------------------------------- /presets/react-router-v5.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/presets/react-router-v5.js -------------------------------------------------------------------------------- /presets/react-router-v6.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/presets/react-router-v6.js -------------------------------------------------------------------------------- /presets/react-v17.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/presets/react-v17.js -------------------------------------------------------------------------------- /presets/react-v18.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/presets/react-v18.js -------------------------------------------------------------------------------- /presets/redux-v5.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/presets/redux-v5.js -------------------------------------------------------------------------------- /presets/vue-composition-api-v1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/presets/vue-composition-api-v1.js -------------------------------------------------------------------------------- /presets/vue-demi-v2.7.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/presets/vue-demi-v2.7.js -------------------------------------------------------------------------------- /presets/vue-demi-v2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/presets/vue-demi-v2.js -------------------------------------------------------------------------------- /presets/vue-demi-v3.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/presets/vue-demi-v3.js -------------------------------------------------------------------------------- /presets/vue-router-v3.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/presets/vue-router-v3.js -------------------------------------------------------------------------------- /presets/vue-router-v4.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/presets/vue-router-v4.js -------------------------------------------------------------------------------- /presets/vue-v2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/presets/vue-v2.js -------------------------------------------------------------------------------- /presets/vue-v2_7.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/presets/vue-v2_7.js -------------------------------------------------------------------------------- /presets/vue-v3.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/presets/vue-v3.js -------------------------------------------------------------------------------- /presets/vuex-v3.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/presets/vuex-v3.js -------------------------------------------------------------------------------- /presets/vuex-v4.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/presets/vuex-v4.js -------------------------------------------------------------------------------- /test/-.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/test/-.js -------------------------------------------------------------------------------- /test/.gitignore: -------------------------------------------------------------------------------- 1 | /-.cjs 2 | /-.mjs -------------------------------------------------------------------------------- /test/index.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/test/index.mjs -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/tsconfig.json -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vite-plugin/vite-plugin-resolve/HEAD/vite.config.ts --------------------------------------------------------------------------------