├── .editorconfig
├── .git-blame-ignore-revs
├── .gitattributes
├── .github
├── ISSUE_TEMPLATE
│ ├── bug_report.yml
│ ├── config.yml
│ ├── docs.yml
│ └── feature_request.yml
├── PULL_REQUEST_TEMPLATE.md
├── commit-convention.md
├── renovate.json5
└── workflows
│ ├── ci.yml
│ ├── ecosystem-ci-trigger.yml
│ ├── issue-close-require.yml
│ ├── issue-labeled.yml
│ ├── lock-closed-issues.yml
│ ├── preview-release.yml
│ ├── publish.yml
│ ├── release-tag.yml
│ └── semantic-pull-request.yml
├── .gitignore
├── .npmrc
├── .prettierignore
├── .prettierrc.json
├── .stackblitz
└── codeflow.json
├── CODE_OF_CONDUCT.md
├── CONTRIBUTING.md
├── LICENSE
├── README.md
├── docs
├── .vitepress
│ ├── buildEnd.config.ts
│ ├── config.ts
│ ├── theme
│ │ ├── components
│ │ │ ├── AsideSponsors.vue
│ │ │ ├── BlogIndex.vue
│ │ │ ├── SvgImage.vue
│ │ │ ├── YouTubeVideo.vue
│ │ │ └── landing
│ │ │ │ ├── 1. hero-section
│ │ │ │ ├── HeroDiagram.vue
│ │ │ │ ├── HeroSection.vue
│ │ │ │ └── svg-elements
│ │ │ │ │ ├── SvgBlueIndicator.vue
│ │ │ │ │ ├── SvgInputs.vue
│ │ │ │ │ ├── SvgOutputs.vue
│ │ │ │ │ └── SvgPinkIndicator.vue
│ │ │ │ ├── 2. feature-section
│ │ │ │ ├── FeatureCI.vue
│ │ │ │ ├── FeatureFlexiblePlugins.vue
│ │ │ │ ├── FeatureHMR.vue
│ │ │ │ ├── FeatureInstantServerStart.vue
│ │ │ │ ├── FeatureOptimizedBuild.vue
│ │ │ │ ├── FeatureRichFeatures.vue
│ │ │ │ ├── FeatureSSRSupport.vue
│ │ │ │ ├── FeatureSection.vue
│ │ │ │ ├── FeatureTypedAPI.vue
│ │ │ │ └── images
│ │ │ │ │ ├── css3.svg
│ │ │ │ │ ├── js.svg
│ │ │ │ │ ├── json.svg
│ │ │ │ │ ├── postcss.svg
│ │ │ │ │ ├── ts.svg
│ │ │ │ │ └── wa.svg
│ │ │ │ ├── 3. frameworks-section
│ │ │ │ ├── FrameworkCard.vue
│ │ │ │ ├── FrameworksSection.vue
│ │ │ │ └── images
│ │ │ │ │ ├── adonis.svg
│ │ │ │ │ ├── analog.svg
│ │ │ │ │ ├── angular.svg
│ │ │ │ │ ├── astro.svg
│ │ │ │ │ ├── ember.svg
│ │ │ │ │ ├── hono.svg
│ │ │ │ │ ├── laravel.svg
│ │ │ │ │ ├── marko.svg
│ │ │ │ │ ├── nuxt.svg
│ │ │ │ │ ├── playwright.svg
│ │ │ │ │ ├── preact.svg
│ │ │ │ │ ├── qwik.svg
│ │ │ │ │ ├── react.svg
│ │ │ │ │ ├── redwood.svg
│ │ │ │ │ ├── remix.svg
│ │ │ │ │ ├── solid.svg
│ │ │ │ │ ├── storybook.svg
│ │ │ │ │ ├── svelte.svg
│ │ │ │ │ ├── vitest.svg
│ │ │ │ │ └── vue.svg
│ │ │ │ ├── 4. community-section
│ │ │ │ ├── CommunityCard.vue
│ │ │ │ └── CommunitySection.vue
│ │ │ │ ├── 5. sponsor-section
│ │ │ │ └── SponsorSection.vue
│ │ │ │ ├── 6. get-started-section
│ │ │ │ └── GetStartedSection.vue
│ │ │ │ └── common
│ │ │ │ └── SvgNode.vue
│ │ ├── composables
│ │ │ ├── sponsor.ts
│ │ │ ├── useCardAnimation.ts
│ │ │ └── useSlideIn.ts
│ │ ├── index.ts
│ │ └── styles
│ │ │ ├── landing.css
│ │ │ └── vars.css
│ ├── tsconfig.json
│ └── vite-env.d.ts
├── _data
│ ├── blog.data.ts
│ └── team.js
├── blog.md
├── blog
│ ├── announcing-vite2.md
│ ├── announcing-vite3.md
│ ├── announcing-vite4-3.md
│ ├── announcing-vite4.md
│ ├── announcing-vite5-1.md
│ ├── announcing-vite5.md
│ └── announcing-vite6.md
├── changes
│ ├── hotupdate-hook.md
│ ├── index.md
│ ├── per-environment-apis.md
│ ├── shared-plugins-during-build.md
│ ├── ssr-using-modulerunner.md
│ └── this-environment-in-hooks.md
├── config
│ ├── build-options.md
│ ├── dep-optimization-options.md
│ ├── index.md
│ ├── preview-options.md
│ ├── server-options.md
│ ├── shared-options.md
│ ├── ssr-options.md
│ └── worker-options.md
├── guide
│ ├── api-environment-frameworks.md
│ ├── api-environment-instances.md
│ ├── api-environment-plugins.md
│ ├── api-environment-runtimes.md
│ ├── api-environment.md
│ ├── api-hmr.md
│ ├── api-javascript.md
│ ├── api-plugin.md
│ ├── assets.md
│ ├── backend-integration.md
│ ├── build.md
│ ├── cli.md
│ ├── dep-pre-bundling.md
│ ├── env-and-mode.md
│ ├── features.md
│ ├── index.md
│ ├── migration.md
│ ├── performance.md
│ ├── philosophy.md
│ ├── rolldown.md
│ ├── ssr.md
│ ├── static-deploy-github-pages.yaml
│ ├── static-deploy.md
│ ├── troubleshooting.md
│ ├── using-plugins.md
│ └── why.md
├── images
│ ├── bundler.svg
│ ├── community
│ │ └── placeholder.jpg
│ ├── diagrams.fig
│ ├── esm.svg
│ ├── graph.svg
│ ├── lit.svg
│ ├── preact.svg
│ ├── react.svg
│ ├── svelte.svg
│ ├── v3-docs.png
│ ├── v3-new-open-issues-and-PRs.png
│ ├── v3-open-issues-and-PRs.png
│ ├── vercel-configuration.png
│ ├── vite-3-cold-start.svg
│ ├── vite-environments.svg
│ ├── vite-plugin-inspect.png
│ ├── vite.svg
│ └── vue.svg
├── index.md
├── package.json
├── plugins
│ └── index.md
├── public
│ ├── _headers
│ ├── _redirects
│ ├── astro.svg
│ ├── bolt.svg
│ ├── ecosystem-vite4.png
│ ├── github.svg
│ ├── heart.svg
│ ├── logo-home.svg
│ ├── logo-uwu.png
│ ├── logo-with-shadow.png
│ ├── logo.svg
│ ├── noise.png
│ ├── nuxtlabs.svg
│ ├── og-image-announcing-vite3.png
│ ├── og-image-announcing-vite4-3.png
│ ├── og-image-announcing-vite4.png
│ ├── og-image-announcing-vite5-1.png
│ ├── og-image-announcing-vite5.png
│ ├── og-image-announcing-vite6.png
│ ├── og-image.jpg
│ ├── stackblitz.svg
│ ├── vite.mp3
│ ├── vite4-3-hmr-time.png
│ ├── vite4-3-startup-time.png
│ ├── vite5-1-10K-modules-loading-time.png
│ ├── vite6-npm-weekly-downloads.png
│ ├── viteconf.svg
│ ├── voice.svg
│ └── voidzero.svg
├── releases.md
└── team.md
├── eslint.config.js
├── netlify.toml
├── package.json
├── packages
├── create-vite
│ ├── CHANGELOG.md
│ ├── LICENSE
│ ├── README.md
│ ├── __tests__
│ │ └── cli.spec.ts
│ ├── index.js
│ ├── package.json
│ ├── src
│ │ └── index.ts
│ ├── template-lit-ts
│ │ ├── _gitignore
│ │ ├── index.html
│ │ ├── package.json
│ │ ├── public
│ │ │ └── vite.svg
│ │ ├── src
│ │ │ ├── assets
│ │ │ │ └── lit.svg
│ │ │ ├── index.css
│ │ │ ├── my-element.ts
│ │ │ └── vite-env.d.ts
│ │ └── tsconfig.json
│ ├── template-lit
│ │ ├── _gitignore
│ │ ├── index.html
│ │ ├── package.json
│ │ ├── public
│ │ │ └── vite.svg
│ │ └── src
│ │ │ ├── assets
│ │ │ └── lit.svg
│ │ │ ├── index.css
│ │ │ └── my-element.js
│ ├── template-preact-ts
│ │ ├── _gitignore
│ │ ├── index.html
│ │ ├── package.json
│ │ ├── public
│ │ │ └── vite.svg
│ │ ├── src
│ │ │ ├── app.css
│ │ │ ├── app.tsx
│ │ │ ├── assets
│ │ │ │ └── preact.svg
│ │ │ ├── index.css
│ │ │ ├── main.tsx
│ │ │ └── vite-env.d.ts
│ │ ├── tsconfig.app.json
│ │ ├── tsconfig.json
│ │ ├── tsconfig.node.json
│ │ └── vite.config.ts
│ ├── template-preact
│ │ ├── _gitignore
│ │ ├── index.html
│ │ ├── package.json
│ │ ├── public
│ │ │ └── vite.svg
│ │ ├── src
│ │ │ ├── app.css
│ │ │ ├── app.jsx
│ │ │ ├── assets
│ │ │ │ └── preact.svg
│ │ │ ├── index.css
│ │ │ └── main.jsx
│ │ └── vite.config.js
│ ├── template-qwik-ts
│ │ ├── README.md
│ │ ├── _gitignore
│ │ ├── index.html
│ │ ├── package.json
│ │ ├── public
│ │ │ └── vite.svg
│ │ ├── src
│ │ │ ├── app.css
│ │ │ ├── app.tsx
│ │ │ ├── assets
│ │ │ │ └── qwik.svg
│ │ │ ├── index.css
│ │ │ ├── main.tsx
│ │ │ └── vite-env.d.ts
│ │ ├── tsconfig.app.json
│ │ ├── tsconfig.json
│ │ ├── tsconfig.node.json
│ │ └── vite.config.ts
│ ├── template-qwik
│ │ ├── README.md
│ │ ├── _gitignore
│ │ ├── index.html
│ │ ├── package.json
│ │ ├── public
│ │ │ └── vite.svg
│ │ ├── src
│ │ │ ├── app.css
│ │ │ ├── app.jsx
│ │ │ ├── assets
│ │ │ │ └── qwik.svg
│ │ │ ├── index.css
│ │ │ ├── main.jsx
│ │ │ └── vite-env.d.ts
│ │ └── vite.config.js
│ ├── template-react-ts
│ │ ├── README.md
│ │ ├── _gitignore
│ │ ├── eslint.config.js
│ │ ├── index.html
│ │ ├── package.json
│ │ ├── public
│ │ │ └── vite.svg
│ │ ├── src
│ │ │ ├── App.css
│ │ │ ├── App.tsx
│ │ │ ├── assets
│ │ │ │ └── react.svg
│ │ │ ├── index.css
│ │ │ ├── main.tsx
│ │ │ └── vite-env.d.ts
│ │ ├── tsconfig.app.json
│ │ ├── tsconfig.json
│ │ ├── tsconfig.node.json
│ │ └── vite.config.ts
│ ├── template-react
│ │ ├── README.md
│ │ ├── _gitignore
│ │ ├── eslint.config.js
│ │ ├── index.html
│ │ ├── package.json
│ │ ├── public
│ │ │ └── vite.svg
│ │ ├── src
│ │ │ ├── App.css
│ │ │ ├── App.jsx
│ │ │ ├── assets
│ │ │ │ └── react.svg
│ │ │ ├── index.css
│ │ │ └── main.jsx
│ │ └── vite.config.js
│ ├── template-solid-ts
│ │ ├── README.md
│ │ ├── _gitignore
│ │ ├── index.html
│ │ ├── package.json
│ │ ├── public
│ │ │ └── vite.svg
│ │ ├── src
│ │ │ ├── App.css
│ │ │ ├── App.tsx
│ │ │ ├── assets
│ │ │ │ └── solid.svg
│ │ │ ├── index.css
│ │ │ ├── index.tsx
│ │ │ └── vite-env.d.ts
│ │ ├── tsconfig.app.json
│ │ ├── tsconfig.json
│ │ ├── tsconfig.node.json
│ │ └── vite.config.ts
│ ├── template-solid
│ │ ├── README.md
│ │ ├── _gitignore
│ │ ├── index.html
│ │ ├── package.json
│ │ ├── public
│ │ │ └── vite.svg
│ │ ├── src
│ │ │ ├── App.css
│ │ │ ├── App.jsx
│ │ │ ├── assets
│ │ │ │ └── solid.svg
│ │ │ ├── index.css
│ │ │ └── index.jsx
│ │ └── vite.config.js
│ ├── template-svelte-ts
│ │ ├── .vscode
│ │ │ └── extensions.json
│ │ ├── README.md
│ │ ├── _gitignore
│ │ ├── index.html
│ │ ├── package.json
│ │ ├── public
│ │ │ └── vite.svg
│ │ ├── src
│ │ │ ├── App.svelte
│ │ │ ├── app.css
│ │ │ ├── assets
│ │ │ │ └── svelte.svg
│ │ │ ├── lib
│ │ │ │ └── Counter.svelte
│ │ │ ├── main.ts
│ │ │ └── vite-env.d.ts
│ │ ├── svelte.config.js
│ │ ├── tsconfig.app.json
│ │ ├── tsconfig.json
│ │ ├── tsconfig.node.json
│ │ └── vite.config.ts
│ ├── template-svelte
│ │ ├── .vscode
│ │ │ └── extensions.json
│ │ ├── README.md
│ │ ├── _gitignore
│ │ ├── index.html
│ │ ├── jsconfig.json
│ │ ├── package.json
│ │ ├── public
│ │ │ └── vite.svg
│ │ ├── src
│ │ │ ├── App.svelte
│ │ │ ├── app.css
│ │ │ ├── assets
│ │ │ │ └── svelte.svg
│ │ │ ├── lib
│ │ │ │ └── Counter.svelte
│ │ │ ├── main.js
│ │ │ └── vite-env.d.ts
│ │ ├── svelte.config.js
│ │ └── vite.config.js
│ ├── template-vanilla-ts
│ │ ├── _gitignore
│ │ ├── index.html
│ │ ├── package.json
│ │ ├── public
│ │ │ └── vite.svg
│ │ ├── src
│ │ │ ├── counter.ts
│ │ │ ├── main.ts
│ │ │ ├── style.css
│ │ │ ├── typescript.svg
│ │ │ └── vite-env.d.ts
│ │ └── tsconfig.json
│ ├── template-vanilla
│ │ ├── _gitignore
│ │ ├── index.html
│ │ ├── package.json
│ │ ├── public
│ │ │ └── vite.svg
│ │ └── src
│ │ │ ├── counter.js
│ │ │ ├── javascript.svg
│ │ │ ├── main.js
│ │ │ └── style.css
│ ├── template-vue-ts
│ │ ├── .vscode
│ │ │ └── extensions.json
│ │ ├── README.md
│ │ ├── _gitignore
│ │ ├── index.html
│ │ ├── package.json
│ │ ├── public
│ │ │ └── vite.svg
│ │ ├── src
│ │ │ ├── App.vue
│ │ │ ├── assets
│ │ │ │ └── vue.svg
│ │ │ ├── components
│ │ │ │ └── HelloWorld.vue
│ │ │ ├── main.ts
│ │ │ ├── style.css
│ │ │ └── vite-env.d.ts
│ │ ├── tsconfig.app.json
│ │ ├── tsconfig.json
│ │ ├── tsconfig.node.json
│ │ └── vite.config.ts
│ ├── template-vue
│ │ ├── .vscode
│ │ │ └── extensions.json
│ │ ├── README.md
│ │ ├── _gitignore
│ │ ├── index.html
│ │ ├── package.json
│ │ ├── public
│ │ │ └── vite.svg
│ │ ├── src
│ │ │ ├── App.vue
│ │ │ ├── assets
│ │ │ │ └── vue.svg
│ │ │ ├── components
│ │ │ │ └── HelloWorld.vue
│ │ │ ├── main.js
│ │ │ └── style.css
│ │ └── vite.config.js
│ ├── tsconfig.json
│ └── tsdown.config.ts
├── plugin-legacy
│ ├── CHANGELOG.md
│ ├── LICENSE
│ ├── README.md
│ ├── package.json
│ ├── src
│ │ ├── __tests__
│ │ │ ├── readme.spec.ts
│ │ │ └── snippets.spec.ts
│ │ ├── index.ts
│ │ ├── snippets.ts
│ │ └── types.ts
│ ├── tsconfig.json
│ └── tsdown.config.ts
└── vite
│ ├── CHANGELOG.md
│ ├── LICENSE.md
│ ├── README.md
│ ├── bin
│ ├── openChrome.applescript
│ └── vite.js
│ ├── client.d.ts
│ ├── misc
│ ├── false.d.ts
│ ├── false.js
│ ├── true.d.ts
│ └── true.js
│ ├── package.json
│ ├── rolldown.config.ts
│ ├── rolldown.dts.config.ts
│ ├── rollupLicensePlugin.ts
│ ├── scripts
│ └── generateTarget.ts
│ ├── src
│ ├── client
│ │ ├── client.ts
│ │ ├── env.ts
│ │ ├── overlay.ts
│ │ └── tsconfig.json
│ ├── module-runner
│ │ ├── constants.ts
│ │ ├── esmEvaluator.ts
│ │ ├── evaluatedModules.ts
│ │ ├── hmrHandler.ts
│ │ ├── hmrLogger.ts
│ │ ├── index.ts
│ │ ├── runner.ts
│ │ ├── sourcemap
│ │ │ ├── decoder.ts
│ │ │ ├── index.ts
│ │ │ └── interceptor.ts
│ │ ├── tsconfig.json
│ │ ├── types.ts
│ │ └── utils.ts
│ ├── node
│ │ ├── __tests__
│ │ │ ├── __snapshots__
│ │ │ │ └── utils.spec.ts.snap
│ │ │ ├── assetSource.spec.ts
│ │ │ ├── build.spec.ts
│ │ │ ├── config.spec.ts
│ │ │ ├── constants.spec.ts
│ │ │ ├── dev.spec.ts
│ │ │ ├── env.spec.ts
│ │ │ ├── env
│ │ │ │ ├── .env
│ │ │ │ ├── .env.development
│ │ │ │ ├── .env.development2
│ │ │ │ ├── .env.existing
│ │ │ │ ├── .env.production
│ │ │ │ └── .env.testing
│ │ │ ├── environment.spec.ts
│ │ │ ├── external.spec.ts
│ │ │ ├── fixtures
│ │ │ │ ├── cjs-ssr-dep
│ │ │ │ │ ├── index.js
│ │ │ │ │ └── package.json
│ │ │ │ ├── config
│ │ │ │ │ ├── entry
│ │ │ │ │ │ ├── imports-field.ts
│ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ ├── vite.config.import-attributes.ts
│ │ │ │ │ │ └── vite.config.ts
│ │ │ │ │ ├── loadConfigFromFile
│ │ │ │ │ │ └── .gitkeep
│ │ │ │ │ ├── native-import
│ │ │ │ │ │ └── basic.js
│ │ │ │ │ ├── plugin-module-condition
│ │ │ │ │ │ ├── index.cjs
│ │ │ │ │ │ ├── index.d.ts
│ │ │ │ │ │ ├── index.mjs
│ │ │ │ │ │ ├── module.mjs
│ │ │ │ │ │ └── package.json
│ │ │ │ │ └── siblings
│ │ │ │ │ │ ├── foo.ts
│ │ │ │ │ │ └── package.json
│ │ │ │ ├── dynamic-import
│ │ │ │ │ ├── dep.mjs
│ │ │ │ │ └── entry.mjs
│ │ │ │ ├── emit-assets
│ │ │ │ │ ├── css-module.module.css
│ │ │ │ │ ├── css-normal.css
│ │ │ │ │ └── entry.mjs
│ │ │ │ ├── environment-alias
│ │ │ │ │ ├── test.client.js
│ │ │ │ │ ├── test.rsc.js
│ │ │ │ │ └── test.ssr.js
│ │ │ │ ├── file-url
│ │ │ │ │ ├── entry.js
│ │ │ │ │ └── package.json
│ │ │ │ ├── runner-import
│ │ │ │ │ ├── basic.ts
│ │ │ │ │ ├── cjs.js
│ │ │ │ │ ├── dynamic-import-dep.ts
│ │ │ │ │ ├── dynamic-import.ts
│ │ │ │ │ ├── plugin.ts
│ │ │ │ │ ├── vite.config.outside-pkg-import.mts
│ │ │ │ │ └── vite.config.ts
│ │ │ │ ├── shared-plugins
│ │ │ │ │ └── minify
│ │ │ │ │ │ └── entry.js
│ │ │ │ ├── test-dep-conditions-app
│ │ │ │ │ ├── entry-with-module.js
│ │ │ │ │ ├── entry.css
│ │ │ │ │ └── entry.js
│ │ │ │ ├── test-dep-conditions
│ │ │ │ │ ├── dir
│ │ │ │ │ │ ├── index.default.js
│ │ │ │ │ │ └── index.module.js
│ │ │ │ │ ├── index.browser.js
│ │ │ │ │ ├── index.css
│ │ │ │ │ ├── index.custom1.js
│ │ │ │ │ ├── index.default.js
│ │ │ │ │ ├── index.worker.js
│ │ │ │ │ └── package.json
│ │ │ │ ├── watch-rebuild-manifest
│ │ │ │ │ ├── dep.js
│ │ │ │ │ ├── entry.js
│ │ │ │ │ └── package.json
│ │ │ │ └── worker-dynamic
│ │ │ │ │ ├── dynamic.js
│ │ │ │ │ ├── main.js
│ │ │ │ │ └── worker.js
│ │ │ ├── package.json
│ │ │ ├── packages
│ │ │ │ ├── build-project
│ │ │ │ │ └── index.html
│ │ │ │ ├── child
│ │ │ │ │ ├── index.js
│ │ │ │ │ └── package.json
│ │ │ │ ├── module
│ │ │ │ │ └── package.json
│ │ │ │ ├── name
│ │ │ │ │ └── package.json
│ │ │ │ ├── noname
│ │ │ │ │ └── package.json
│ │ │ │ ├── package.json
│ │ │ │ └── parent
│ │ │ │ │ ├── index.ts
│ │ │ │ │ └── package.json
│ │ │ ├── plugins
│ │ │ │ ├── assetImportMetaUrl.spec.ts
│ │ │ │ ├── css.spec.ts
│ │ │ │ ├── define.spec.ts
│ │ │ │ ├── dynamicImportVar
│ │ │ │ │ ├── __snapshots__
│ │ │ │ │ │ └── parse.spec.ts.snap
│ │ │ │ │ ├── mods
│ │ │ │ │ │ ├── hello.js
│ │ │ │ │ │ └── hi.js
│ │ │ │ │ └── parse.spec.ts
│ │ │ │ ├── esbuild.spec.ts
│ │ │ │ ├── fixtures
│ │ │ │ │ └── css-module-compose
│ │ │ │ │ │ └── css
│ │ │ │ │ │ └── bar.module.css
│ │ │ │ ├── hooks.spec.ts
│ │ │ │ ├── import.spec.ts
│ │ │ │ ├── importGlob
│ │ │ │ │ ├── __snapshots__
│ │ │ │ │ │ └── fixture.spec.ts.snap
│ │ │ │ │ ├── fixture-a
│ │ │ │ │ │ ├── .gitignore
│ │ │ │ │ │ ├── index.ts
│ │ │ │ │ │ ├── modules
│ │ │ │ │ │ │ ├── a.ts
│ │ │ │ │ │ │ ├── b.ts
│ │ │ │ │ │ │ └── index.ts
│ │ │ │ │ │ ├── node_modules
│ │ │ │ │ │ │ └── framework
│ │ │ │ │ │ │ │ └── pages
│ │ │ │ │ │ │ │ └── hello.page.js
│ │ │ │ │ │ └── sibling.ts
│ │ │ │ │ ├── fixture-b
│ │ │ │ │ │ ├── a.ts
│ │ │ │ │ │ ├── b.ts
│ │ │ │ │ │ └── index.ts
│ │ │ │ │ ├── fixture.spec.ts
│ │ │ │ │ ├── parse.spec.ts
│ │ │ │ │ └── utils.spec.ts
│ │ │ │ ├── index.spec.ts
│ │ │ │ ├── json.spec.ts
│ │ │ │ ├── modulePreloadPolyfill
│ │ │ │ │ ├── __snapshots__
│ │ │ │ │ │ └── modulePreloadPolyfill.spec.ts.snap
│ │ │ │ │ └── modulePreloadPolyfill.spec.ts
│ │ │ │ ├── pluginFilter.spec.ts
│ │ │ │ ├── terser.spec.ts
│ │ │ │ └── workerImportMetaUrl.spec.ts
│ │ │ ├── resolve.spec.ts
│ │ │ ├── runnerImport.spec.ts
│ │ │ ├── scan.spec.ts
│ │ │ ├── utils.spec.ts
│ │ │ └── utils
│ │ │ │ └── isFileReadable
│ │ │ │ └── permission-test-file
│ │ ├── __tests_dts__
│ │ │ ├── config.ts
│ │ │ ├── plugin.ts
│ │ │ ├── typeOptions.ts
│ │ │ └── utils.ts
│ │ ├── assetSource.ts
│ │ ├── baseEnvironment.ts
│ │ ├── build.ts
│ │ ├── cli.ts
│ │ ├── config.ts
│ │ ├── constants.ts
│ │ ├── deprecations.ts
│ │ ├── env.ts
│ │ ├── environment.ts
│ │ ├── external.ts
│ │ ├── http.ts
│ │ ├── idResolver.ts
│ │ ├── index.ts
│ │ ├── logger.ts
│ │ ├── optimizer
│ │ │ ├── esbuildDepPlugin.ts
│ │ │ ├── index.ts
│ │ │ ├── optimizer.ts
│ │ │ ├── resolve.ts
│ │ │ └── scan.ts
│ │ ├── packages.ts
│ │ ├── plugin.ts
│ │ ├── plugins
│ │ │ ├── asset.ts
│ │ │ ├── assetImportMetaUrl.ts
│ │ │ ├── clientInjections.ts
│ │ │ ├── completeSystemWrap.ts
│ │ │ ├── css.ts
│ │ │ ├── dataUri.ts
│ │ │ ├── define.ts
│ │ │ ├── dynamicImportVars.ts
│ │ │ ├── esbuild.ts
│ │ │ ├── html.ts
│ │ │ ├── importAnalysis.ts
│ │ │ ├── importAnalysisBuild.ts
│ │ │ ├── importMetaGlob.ts
│ │ │ ├── index.ts
│ │ │ ├── json.ts
│ │ │ ├── loadFallback.ts
│ │ │ ├── manifest.ts
│ │ │ ├── metadata.ts
│ │ │ ├── modulePreloadPolyfill.ts
│ │ │ ├── optimizedDeps.ts
│ │ │ ├── pluginFilter.ts
│ │ │ ├── preAlias.ts
│ │ │ ├── reporter.ts
│ │ │ ├── resolve.ts
│ │ │ ├── terser.ts
│ │ │ ├── wasm.ts
│ │ │ ├── worker.ts
│ │ │ └── workerImportMetaUrl.ts
│ │ ├── preview.ts
│ │ ├── publicDir.ts
│ │ ├── server
│ │ │ ├── __tests__
│ │ │ │ ├── fixtures
│ │ │ │ │ ├── lerna
│ │ │ │ │ │ ├── lerna.json
│ │ │ │ │ │ └── nested
│ │ │ │ │ │ │ └── package.json
│ │ │ │ │ ├── none
│ │ │ │ │ │ └── nested
│ │ │ │ │ │ │ └── package.json
│ │ │ │ │ ├── pnpm
│ │ │ │ │ │ ├── nested
│ │ │ │ │ │ │ └── package.json
│ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ └── pnpm-workspace.yaml
│ │ │ │ │ ├── watcher
│ │ │ │ │ │ ├── config-deps
│ │ │ │ │ │ │ └── foo.js
│ │ │ │ │ │ ├── custom-env
│ │ │ │ │ │ │ └── .env
│ │ │ │ │ │ ├── custom-public
│ │ │ │ │ │ │ └── foo.txt
│ │ │ │ │ │ ├── nested-root
│ │ │ │ │ │ │ └── vite.config.js
│ │ │ │ │ │ └── package.json
│ │ │ │ │ └── yarn
│ │ │ │ │ │ ├── nested
│ │ │ │ │ │ └── package.json
│ │ │ │ │ │ └── package.json
│ │ │ │ ├── moduleGraph.spec.ts
│ │ │ │ ├── pluginContainer.spec.ts
│ │ │ │ ├── search-root.spec.ts
│ │ │ │ └── watcher.spec.ts
│ │ │ ├── environment.ts
│ │ │ ├── environments
│ │ │ │ ├── fetchableEnvironments.ts
│ │ │ │ └── runnableEnvironment.ts
│ │ │ ├── hmr.ts
│ │ │ ├── index.ts
│ │ │ ├── middlewares
│ │ │ │ ├── __tests__
│ │ │ │ │ └── hostCheck.spec.ts
│ │ │ │ ├── base.ts
│ │ │ │ ├── error.ts
│ │ │ │ ├── hostCheck.ts
│ │ │ │ ├── htmlFallback.ts
│ │ │ │ ├── indexHtml.ts
│ │ │ │ ├── notFound.ts
│ │ │ │ ├── proxy.ts
│ │ │ │ ├── rejectInvalidRequest.ts
│ │ │ │ ├── static.ts
│ │ │ │ ├── time.ts
│ │ │ │ └── transform.ts
│ │ │ ├── mixedModuleGraph.ts
│ │ │ ├── moduleGraph.ts
│ │ │ ├── openBrowser.ts
│ │ │ ├── pluginContainer.ts
│ │ │ ├── searchRoot.ts
│ │ │ ├── send.ts
│ │ │ ├── sourcemap.ts
│ │ │ ├── transformRequest.ts
│ │ │ ├── warmup.ts
│ │ │ └── ws.ts
│ │ ├── shortcuts.ts
│ │ ├── ssr
│ │ │ ├── __tests__
│ │ │ │ ├── __snapshots__
│ │ │ │ │ └── ssrLoadModule.spec.ts.snap
│ │ │ │ ├── fixtures
│ │ │ │ │ ├── bundled-with-sourcemaps
│ │ │ │ │ │ ├── bundle.js
│ │ │ │ │ │ └── bundle.js.map
│ │ │ │ │ ├── errors
│ │ │ │ │ │ ├── syntax-error-dep.js
│ │ │ │ │ │ ├── syntax-error-dep.ts
│ │ │ │ │ │ ├── syntax-error.js
│ │ │ │ │ │ └── syntax-error.ts
│ │ │ │ │ ├── file-url
│ │ │ │ │ │ ├── test space.js
│ │ │ │ │ │ └── test.js
│ │ │ │ │ ├── global
│ │ │ │ │ │ ├── export.js
│ │ │ │ │ │ └── test.js
│ │ │ │ │ ├── json
│ │ │ │ │ │ └── test.json
│ │ │ │ │ ├── modules
│ │ │ │ │ │ ├── has-error.js
│ │ │ │ │ │ ├── has-invalid-import.js
│ │ │ │ │ │ └── import-meta.js
│ │ │ │ │ ├── multi-source-sourcemaps
│ │ │ │ │ │ ├── dist.js
│ │ │ │ │ │ ├── dist.js.map
│ │ │ │ │ │ ├── entrypoint.js
│ │ │ │ │ │ └── nested-directory
│ │ │ │ │ │ │ └── nested-file.js
│ │ │ │ │ └── named-overwrite-all
│ │ │ │ │ │ ├── dep1.js
│ │ │ │ │ │ ├── dep2.js
│ │ │ │ │ │ └── main.js
│ │ │ │ ├── ssrLoadModule.spec.ts
│ │ │ │ ├── ssrStacktrace.spec.ts
│ │ │ │ └── ssrTransform.spec.ts
│ │ │ ├── fetchModule.ts
│ │ │ ├── index.ts
│ │ │ ├── runnerImport.ts
│ │ │ ├── runtime
│ │ │ │ ├── __tests__
│ │ │ │ │ ├── fixtures
│ │ │ │ │ │ ├── a.ts
│ │ │ │ │ │ ├── assets.js
│ │ │ │ │ │ ├── assets
│ │ │ │ │ │ │ ├── placeholder.mov
│ │ │ │ │ │ │ ├── placeholder.png
│ │ │ │ │ │ │ ├── placeholder.txt
│ │ │ │ │ │ │ └── placeholder.webp
│ │ │ │ │ │ ├── b.ts
│ │ │ │ │ │ ├── basic.js
│ │ │ │ │ │ ├── c.ts
│ │ │ │ │ │ ├── circular
│ │ │ │ │ │ │ ├── circular-a.js
│ │ │ │ │ │ │ ├── circular-b.js
│ │ │ │ │ │ │ └── circular-index.js
│ │ │ │ │ │ ├── cjs-external-existing.js
│ │ │ │ │ │ ├── cjs-external-non-existing.js
│ │ │ │ │ │ ├── cjs-external
│ │ │ │ │ │ │ ├── index.cjs
│ │ │ │ │ │ │ └── package.json
│ │ │ │ │ │ ├── cyclic
│ │ │ │ │ │ │ ├── action.js
│ │ │ │ │ │ │ ├── entry-cyclic.js
│ │ │ │ │ │ │ └── entry.js
│ │ │ │ │ │ ├── cyclic2
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ ├── test1
│ │ │ │ │ │ │ │ ├── dep1.js
│ │ │ │ │ │ │ │ ├── dep2.js
│ │ │ │ │ │ │ │ └── index.js
│ │ │ │ │ │ │ ├── test2
│ │ │ │ │ │ │ │ ├── dep1.js
│ │ │ │ │ │ │ │ ├── dep2.js
│ │ │ │ │ │ │ │ └── index.js
│ │ │ │ │ │ │ ├── test3
│ │ │ │ │ │ │ │ ├── dep1.js
│ │ │ │ │ │ │ │ ├── dep2.js
│ │ │ │ │ │ │ │ └── index.js
│ │ │ │ │ │ │ ├── test4
│ │ │ │ │ │ │ │ ├── dep1.js
│ │ │ │ │ │ │ │ ├── dep2.js
│ │ │ │ │ │ │ │ └── index.js
│ │ │ │ │ │ │ ├── test5
│ │ │ │ │ │ │ │ ├── dep1.js
│ │ │ │ │ │ │ │ ├── dep2.js
│ │ │ │ │ │ │ │ └── index.js
│ │ │ │ │ │ │ ├── test6
│ │ │ │ │ │ │ │ ├── dep1.js
│ │ │ │ │ │ │ │ ├── dep2.js
│ │ │ │ │ │ │ │ └── index.js
│ │ │ │ │ │ │ ├── test7
│ │ │ │ │ │ │ │ ├── Ion.js
│ │ │ │ │ │ │ │ ├── IonTypes.js
│ │ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ │ └── dom
│ │ │ │ │ │ │ │ │ ├── Blob.js
│ │ │ │ │ │ │ │ │ └── index.js
│ │ │ │ │ │ │ └── test9
│ │ │ │ │ │ │ │ ├── dep.js
│ │ │ │ │ │ │ │ └── index.js
│ │ │ │ │ │ ├── d.ts
│ │ │ │ │ │ ├── default-string.ts
│ │ │ │ │ │ ├── dynamic-import.js
│ │ │ │ │ │ ├── esm-external-existing.js
│ │ │ │ │ │ ├── esm-external-non-existing.js
│ │ │ │ │ │ ├── esm-external
│ │ │ │ │ │ │ ├── index.mjs
│ │ │ │ │ │ │ └── package.json
│ │ │ │ │ │ ├── execution-order-re-export
│ │ │ │ │ │ │ ├── dep1.js
│ │ │ │ │ │ │ ├── dep2.js
│ │ │ │ │ │ │ └── index.js
│ │ │ │ │ │ ├── has-error-deep.ts
│ │ │ │ │ │ ├── has-error-first-comment.ts
│ │ │ │ │ │ ├── has-error-first.js
│ │ │ │ │ │ ├── has-error.js
│ │ │ │ │ │ ├── hmr.js
│ │ │ │ │ │ ├── installed.js
│ │ │ │ │ │ ├── live-binding
│ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ ├── test1
│ │ │ │ │ │ │ │ ├── dep.js
│ │ │ │ │ │ │ │ └── index.js
│ │ │ │ │ │ │ ├── test2
│ │ │ │ │ │ │ │ ├── dep.js
│ │ │ │ │ │ │ │ └── index.js
│ │ │ │ │ │ │ ├── test3
│ │ │ │ │ │ │ │ ├── dep.js
│ │ │ │ │ │ │ │ └── index.js
│ │ │ │ │ │ │ └── test4
│ │ │ │ │ │ │ │ ├── dep.js
│ │ │ │ │ │ │ │ └── index.js
│ │ │ │ │ │ ├── native.js
│ │ │ │ │ │ ├── no-this
│ │ │ │ │ │ │ ├── importee.js
│ │ │ │ │ │ │ └── importer.js
│ │ │ │ │ │ ├── simple.js
│ │ │ │ │ │ ├── test.css
│ │ │ │ │ │ ├── test.module.css
│ │ │ │ │ │ ├── throws-error-method.ts
│ │ │ │ │ │ ├── virtual.js
│ │ │ │ │ │ ├── worker.invoke.mjs
│ │ │ │ │ │ └── worker.mjs
│ │ │ │ │ ├── package.json
│ │ │ │ │ ├── server-hmr.spec.ts
│ │ │ │ │ ├── server-no-hmr.spec.ts
│ │ │ │ │ ├── server-runtime.spec.ts
│ │ │ │ │ ├── server-source-maps.spec.ts
│ │ │ │ │ ├── server-worker-runner.invoke.spec.ts
│ │ │ │ │ ├── server-worker-runner.spec.ts
│ │ │ │ │ └── utils.ts
│ │ │ │ └── serverModuleRunner.ts
│ │ │ ├── ssrManifestPlugin.ts
│ │ │ ├── ssrModuleLoader.ts
│ │ │ ├── ssrStacktrace.ts
│ │ │ └── ssrTransform.ts
│ │ ├── tsconfig.build.json
│ │ ├── tsconfig.json
│ │ ├── typeUtils.ts
│ │ ├── utils.ts
│ │ └── watch.ts
│ ├── shared
│ │ ├── constants.ts
│ │ ├── hmr.ts
│ │ ├── hmrHandler.ts
│ │ ├── invokeMethods.ts
│ │ ├── moduleRunnerTransport.ts
│ │ ├── ssrTransform.ts
│ │ ├── tsconfig.json
│ │ └── utils.ts
│ └── types
│ │ ├── alias.d.ts
│ │ ├── anymatch.d.ts
│ │ ├── chokidar.d.ts
│ │ ├── commonjs.d.ts
│ │ ├── connect.d.ts
│ │ ├── dynamicImportVars.d.ts
│ │ ├── http-proxy.d.ts
│ │ ├── package.json
│ │ ├── shims.d.ts
│ │ ├── terser.d.ts
│ │ └── ws.d.ts
│ ├── tsconfig.base.json
│ ├── tsconfig.check.json
│ ├── tsconfig.json
│ └── types
│ ├── customEvent.d.ts
│ ├── hmrPayload.d.ts
│ ├── hot.d.ts
│ ├── import-meta.d.ts
│ ├── importGlob.d.ts
│ ├── importMeta.d.ts
│ ├── internal
│ ├── cssPreprocessorOptions.d.ts
│ └── lightningcssOptions.d.ts
│ ├── metadata.d.ts
│ └── package.json
├── patches
├── chokidar@3.6.0.patch
├── dotenv-expand@12.0.2.patch
├── http-proxy@1.18.1.patch
└── sirv@3.0.1.patch
├── playground
├── alias
│ ├── __tests__
│ │ └── alias.spec.ts
│ ├── customResolver.js
│ ├── dir
│ │ ├── from-script-src.js
│ │ ├── module
│ │ │ ├── index.js
│ │ │ └── package.json
│ │ ├── test.css
│ │ └── test.js
│ ├── index.html
│ ├── package.json
│ ├── test.js
│ └── vite.config.js
├── assets-sanitize
│ ├── +circle.svg
│ ├── .env
│ ├── __tests__
│ │ └── assets-sanitize.spec.ts
│ ├── _circle.svg
│ ├── index.html
│ ├── index.js
│ ├── package.json
│ └── vite.config.js
├── assets
│ ├── __tests__
│ │ ├── assets.spec.ts
│ │ ├── encoded-base
│ │ │ └── assets-encoded-base.spec.ts
│ │ ├── relative-base
│ │ │ └── assets-relative-base.spec.ts
│ │ ├── runtime-base
│ │ │ └── assets-runtime-base.spec.ts
│ │ └── url-base
│ │ │ └── assets-url-base.spec.ts
│ ├── asset
│ │ ├── main.js
│ │ ├── percent%.png
│ │ └── style.css
│ ├── css
│ │ ├── css-url-url.css
│ │ ├── css-url.css
│ │ ├── fonts.css
│ │ ├── foo.module.css
│ │ ├── icons.css
│ │ ├── import.css
│ │ ├── manual-chunks.css
│ │ └── nested
│ │ │ └── at-imported-css-url.css
│ ├── favicon.ico
│ ├── fonts
│ │ ├── Inter-Italic.woff
│ │ └── Inter-Italic.woff2
│ ├── foo.js
│ ├── index.html
│ ├── manifest.json
│ ├── nested
│ │ ├── asset.png
│ │ ├── asset[small].png
│ │ ├── foo.unknown
│ │ ├── fragment-bg-hmr.svg
│ │ ├── fragment-bg-hmr2.svg
│ │ ├── fragment-bg.svg
│ │ ├── fragment.svg
│ │ ├── html-only-asset.jpg
│ │ ├── icon.png
│ │ ├── inlined.svg
│ │ ├── test.js
│ │ ├── with-single'quote.png
│ │ └── テスト-測試-white space.png
│ ├── package.json
│ ├── static
│ │ ├── bar
│ │ ├── foo.css
│ │ ├── foo.json
│ │ ├── foo.txt
│ │ ├── icon.png
│ │ ├── import-expression.js
│ │ ├── raw.css
│ │ ├── raw.js
│ │ ├── raw.mts
│ │ └── raw.ts
│ ├── vite.config-encoded-base.js
│ ├── vite.config-relative-base.js
│ ├── vite.config-runtime-base.js
│ ├── vite.config-url-base.js
│ ├── vite.config.js
│ └── テスト-測試-white space.js
├── backend-integration
│ ├── __tests__
│ │ └── backend-integration.spec.ts
│ ├── dir
│ │ └── foo.css
│ ├── frontend
│ │ ├── entrypoints
│ │ │ ├── foo.pcss
│ │ │ ├── global.css
│ │ │ ├── icon.png
│ │ │ ├── index.html
│ │ │ ├── main.ts
│ │ │ ├── nested
│ │ │ │ ├── blue.scss
│ │ │ │ └── sub.ts
│ │ │ └── water-container.svg
│ │ ├── images
│ │ │ └── logo.png
│ │ └── styles
│ │ │ ├── background.css
│ │ │ ├── imported.css
│ │ │ ├── tailwind.css
│ │ │ └── url.css
│ ├── package.json
│ ├── references.css
│ └── vite.config.js
├── build-old
│ ├── __tests__
│ │ └── build-old.spec.ts
│ ├── dynamic.js
│ ├── index.html
│ ├── package.json
│ └── vite.config.js
├── cli-module
│ ├── __tests__
│ │ ├── cli-module.spec.ts
│ │ └── serve.ts
│ ├── index.html
│ ├── index.js
│ ├── package.json
│ └── vite.config.js
├── cli
│ ├── __tests__
│ │ ├── cli.spec.ts
│ │ └── serve.ts
│ ├── index.html
│ ├── index.js
│ ├── package.json
│ └── vite.config.js
├── client-reload
│ ├── __tests__
│ │ ├── client-reload.spec.ts
│ │ └── serve.ts
│ ├── index.html
│ ├── package.json
│ └── vite.config.ts
├── csp
│ ├── __tests__
│ │ └── csp.spec.ts
│ ├── dynamic.css
│ ├── dynamic.js
│ ├── from-js.css
│ ├── index.html
│ ├── index.js
│ ├── linked.css
│ ├── package.json
│ └── vite.config.js
├── css-codesplit-cjs
│ ├── __tests__
│ │ └── css-codesplit-cjs.spec.ts
│ ├── index.html
│ ├── main.css
│ ├── main.js
│ ├── other.js
│ ├── package.json
│ ├── style.css
│ └── vite.config.js
├── css-codesplit
│ ├── __tests__
│ │ ├── css-codesplit-consistent.spec.ts
│ │ └── css-codesplit.spec.ts
│ ├── async-js.css
│ ├── async-js.js
│ ├── async.css
│ ├── chunk.css
│ ├── index.html
│ ├── inline.css
│ ├── main.css
│ ├── main.js
│ ├── mod.module.css
│ ├── order
│ │ ├── base.css
│ │ ├── dynamic.css
│ │ ├── index.js
│ │ └── insert.js
│ ├── other.js
│ ├── package.json
│ ├── shared-css-empty-1.js
│ ├── shared-css-empty-2.js
│ ├── shared-css-main.js
│ ├── shared-css-no-js.html
│ ├── shared-css-theme.css
│ ├── shared-css-with-js.html
│ ├── style.css
│ ├── style2.css
│ ├── style2.js
│ └── vite.config.js
├── css-dynamic-import
│ ├── __tests__
│ │ ├── css-dynamic-import.spec.ts
│ │ └── serve.ts
│ ├── dynamic.css
│ ├── dynamic.js
│ ├── index.html
│ ├── index.js
│ ├── package.json
│ ├── static.css
│ └── static.js
├── css-lightningcss-proxy
│ ├── __tests__
│ │ ├── css-lightningcss-proxy.spec.ts
│ │ └── serve.ts
│ ├── index.html
│ ├── package.json
│ └── server.js
├── css-lightningcss-root
│ ├── __tests__
│ │ └── css-lightningcss-root.spec.ts
│ ├── package.json
│ ├── root
│ │ ├── index.html
│ │ ├── main.js
│ │ ├── ok.png
│ │ └── url-dep.css
│ └── vite.config.js
├── css-lightningcss
│ ├── __tests__
│ │ └── css-lightningcss.spec.ts
│ ├── composed.module.css
│ ├── composes-path-resolving.module.css
│ ├── css-url.css
│ ├── external-url.css
│ ├── imported-at-import.css
│ ├── imported.css
│ ├── index.html
│ ├── inline.module.css
│ ├── inlined.css
│ ├── linked-at-import.css
│ ├── linked.css
│ ├── main.js
│ ├── minify.css
│ ├── mod.module.css
│ ├── nested
│ │ ├── fragment.svg
│ │ └── nested.css
│ ├── ok.png
│ ├── package.json
│ └── vite.config.js
├── css-no-codesplit
│ ├── __tests__
│ │ └── css-no-codesplit.spec.ts
│ ├── async-js.css
│ ├── async-js.js
│ ├── index.html
│ ├── index.js
│ ├── package.json
│ ├── shared-linked.css
│ ├── sub.html
│ └── vite.config.js
├── css-sourcemap
│ ├── __tests__
│ │ ├── css-sourcemap.spec.ts
│ │ ├── lib-entry
│ │ │ └── css-sourcemap-lib-entry.spec.ts
│ │ └── lightningcss
│ │ │ └── lightningcss.spec.ts
│ ├── be-imported.css
│ ├── imported-nested.sass
│ ├── imported-with-import.css
│ ├── imported.css
│ ├── imported.less
│ ├── imported.module.sass
│ ├── imported.sass
│ ├── imported.sss
│ ├── imported.styl
│ ├── index.html
│ ├── index.js
│ ├── input-map.css
│ ├── input-map.css.map
│ ├── input-map.src.css
│ ├── linked-with-import.css
│ ├── linked.css
│ ├── package.json
│ ├── vite.config-lib-entry.js
│ ├── vite.config-lightningcss.js
│ └── vite.config.js
├── css
│ ├── __tests__
│ │ ├── css.spec.ts
│ │ ├── lightningcss
│ │ │ └── lightningcss.spec.ts
│ │ ├── no-css-minify
│ │ │ └── css-no-css-minify.spec.ts
│ │ ├── postcss-plugins-different-dir
│ │ │ ├── css-postcss-plugins-different-dir.spec.ts
│ │ │ └── serve.ts
│ │ ├── same-file-name
│ │ │ └── css-same-file-name.spec.ts
│ │ ├── sass-modern-compiler-build
│ │ │ └── sass-modern-compiler.spec.ts
│ │ ├── sass-tests.ts
│ │ └── tests.ts
│ ├── aliased
│ │ ├── bar.module.css
│ │ └── foo.css
│ ├── async-treeshaken.css
│ ├── async-treeshaken.js
│ ├── async.css
│ ├── async.js
│ ├── async
│ │ ├── async-1.css
│ │ ├── async-1.js
│ │ ├── async-2.css
│ │ ├── async-2.js
│ │ ├── async-3.js
│ │ ├── async-3.module.css
│ │ ├── base.css
│ │ ├── base.js
│ │ └── index.js
│ ├── charset.css
│ ├── composed.module.css
│ ├── composed.module.less
│ ├── composed.module.scss
│ ├── composes-path-resolving.module.css
│ ├── css-dep-exports
│ │ ├── index.js
│ │ ├── package.json
│ │ ├── style.css
│ │ └── style.scss
│ ├── css-dep
│ │ ├── index.css
│ │ ├── index.js
│ │ ├── index.scss
│ │ ├── index.styl
│ │ └── package.json
│ ├── css-js-dep
│ │ ├── bar.module.css
│ │ ├── foo.css
│ │ ├── index.js
│ │ └── package.json
│ ├── css-proxy-dep-nested
│ │ ├── index.css
│ │ └── package.json
│ ├── css-proxy-dep
│ │ ├── index.css
│ │ └── package.json
│ ├── dep.css
│ ├── file-absolute.scss
│ ├── folder with space
│ │ ├── ok.png
│ │ └── space.css
│ ├── glob-dep.css
│ ├── glob-dep
│ │ ├── bar.css
│ │ ├── foo.css
│ │ └── nested (dir)
│ │ │ └── baz.css
│ ├── glob-import
│ │ ├── bar.css
│ │ └── foo.css
│ ├── imported-at-import.css
│ ├── imported.css
│ ├── imported.scss
│ ├── imports-field.css
│ ├── imports-imports-field.css
│ ├── index.html
│ ├── inline.module.css
│ ├── inlined.css
│ ├── jsfile.css.js
│ ├── layered
│ │ ├── blue.css
│ │ ├── green.css
│ │ └── index.css
│ ├── less-plugin.less
│ ├── less-plugin
│ │ └── test.js
│ ├── less.less
│ ├── less
│ │ ├── components
│ │ │ └── form.less
│ │ ├── images
│ │ │ └── backgrounds
│ │ │ │ └── form-select.svg
│ │ └── ommer.less
│ ├── lightningcss-plugins.js
│ ├── linked-at-import.css
│ ├── linked.css
│ ├── main.js
│ ├── manual-chunk.css
│ ├── minify.css
│ ├── mod.module.css
│ ├── mod.module.scss
│ ├── nested
│ │ ├── _index.scss
│ │ ├── _partial.scss
│ │ ├── css-in-less-2.less
│ │ ├── css-in-less.css
│ │ ├── css-in-less.less
│ │ ├── css-in-scss.css
│ │ ├── icon.png
│ │ ├── nested.less
│ │ ├── nested.sss
│ │ ├── nested.styl
│ │ ├── relative.scss
│ │ └── root-relative.scss
│ ├── ok.png
│ ├── options
│ │ ├── absolute-import.styl
│ │ └── relative-import.styl
│ ├── package.json
│ ├── pkg-dep
│ │ ├── _index.scss
│ │ ├── index.js
│ │ └── package.json
│ ├── postcss-caching
│ │ ├── blue-app
│ │ │ ├── imported.css
│ │ │ ├── index.html
│ │ │ ├── main.js
│ │ │ ├── package.json
│ │ │ └── postcss.config.js
│ │ ├── css.spec.ts
│ │ ├── green-app
│ │ │ ├── imported.css
│ │ │ ├── index.html
│ │ │ ├── main.js
│ │ │ ├── package.json
│ │ │ └── postcss.config.js
│ │ └── serve.ts
│ ├── postcss-inject-url.css
│ ├── postcss-source-input.css
│ ├── postcss.config.js
│ ├── raw-imported.css
│ ├── same-name
│ │ ├── sub1
│ │ │ ├── sub.css
│ │ │ └── sub.js
│ │ └── sub2
│ │ │ ├── sub.css
│ │ │ └── sub.js
│ ├── sass-modern-compiler-build
│ │ ├── entry1.scss
│ │ └── entry2.scss
│ ├── sass.scss
│ ├── scss-dir
│ │ ├── dir
│ │ │ └── index.scss
│ │ └── main.scss
│ ├── scss-proxy-dep-nested
│ │ ├── index.css
│ │ └── package.json
│ ├── scss-proxy-dep
│ │ ├── index.scss
│ │ └── package.json
│ ├── stylus.styl
│ ├── sugarss.sss
│ ├── treeshake-module
│ │ ├── a.js
│ │ ├── a.module.css
│ │ ├── b.js
│ │ ├── b.module.css
│ │ └── index.js
│ ├── treeshake-scoped
│ │ ├── a-scoped.css
│ │ ├── a.js
│ │ ├── b-scoped.css
│ │ ├── b.js
│ │ ├── c-scoped.css
│ │ ├── c.js
│ │ ├── d-scoped.css
│ │ ├── d.js
│ │ ├── index.html
│ │ ├── index.js
│ │ └── order
│ │ │ ├── a-scoped.css
│ │ │ ├── a.js
│ │ │ ├── after.css
│ │ │ └── before.css
│ ├── unsupported.css
│ ├── url-imported.css
│ ├── vite.config-lightningcss.js
│ ├── vite.config-no-css-minify.js
│ ├── vite.config-relative-base.js
│ ├── vite.config-same-file-name.js
│ ├── vite.config-sass-modern-compiler-build.js
│ ├── vite.config.js
│ └── weapp.wxss
├── data-uri
│ ├── __tests__
│ │ └── data-uri.spec.ts
│ ├── double-quote-in-single-quotes.svg
│ ├── double-quotes-in-single-quotes.svg
│ ├── index.html
│ ├── main.js
│ ├── package.json
│ ├── single-quote-in-double-quotes.svg
│ ├── single-quotes-in-double-quotes.svg
│ └── vite.config.js
├── define
│ ├── __tests__
│ │ └── define.spec.ts
│ ├── commonjs-dep
│ │ ├── index.js
│ │ └── package.json
│ ├── data.json
│ ├── index.html
│ ├── package.json
│ └── vite.config.js
├── dynamic-import-inline
│ ├── __tests__
│ │ └── dynamic-import-inline.spec.ts
│ ├── index.html
│ ├── package.json
│ ├── src
│ │ ├── foo.js
│ │ └── index.js
│ └── vite.config.js
├── dynamic-import
│ ├── (app)
│ │ ├── main.js
│ │ └── nest
│ │ │ └── index.js
│ ├── __tests__
│ │ └── dynamic-import.spec.ts
│ ├── alias
│ │ ├── hello.js
│ │ ├── hi.js
│ │ ├── url.js
│ │ └── worker.js
│ ├── css
│ │ └── index.css
│ ├── files
│ │ ├── mxd.js
│ │ └── mxd.json
│ ├── index.html
│ ├── nested
│ │ ├── deps.js
│ │ ├── hello.js
│ │ ├── index.js
│ │ ├── nested
│ │ │ └── self.js
│ │ ├── self.js
│ │ ├── shared.js
│ │ ├── static.js
│ │ └── treeshaken
│ │ │ ├── syntax.js
│ │ │ └── treeshaken.js
│ ├── package.json
│ ├── pkg
│ │ ├── index.js
│ │ ├── package.json
│ │ └── pkg.css
│ ├── views
│ │ ├── bar.js
│ │ ├── baz.js
│ │ ├── foo.js
│ │ └── qux.js
│ └── vite.config.js
├── env-nested
│ ├── .env
│ ├── __tests__
│ │ └── env-nested.spec.ts
│ ├── envs
│ │ ├── .env.development
│ │ └── .env.production
│ ├── index.html
│ ├── package.json
│ └── vite.config.js
├── env
│ ├── .env
│ ├── .env.development
│ ├── .env.production
│ ├── __tests__
│ │ └── env.spec.ts
│ ├── index.html
│ ├── index.js
│ ├── package.json
│ └── vite.config.js
├── environment-react-ssr
│ ├── __tests__
│ │ └── environment-react-ssr.spec.ts
│ ├── index.html
│ ├── package.json
│ ├── src
│ │ ├── entry-client.tsx
│ │ ├── entry-server.tsx
│ │ └── root.tsx
│ ├── tsconfig.json
│ └── vite.config.ts
├── extensions
│ ├── __tests__
│ │ └── extensions.spec.ts
│ ├── index.html
│ ├── package.json
│ └── vite.config.js
├── external
│ ├── __tests__
│ │ └── external.spec.ts
│ ├── dep-that-imports
│ │ ├── index.js
│ │ └── package.json
│ ├── dep-that-requires
│ │ ├── index.js
│ │ └── package.json
│ ├── index.html
│ ├── package.json
│ ├── public
│ │ └── slash@3.0.0.js
│ ├── src
│ │ └── main.js
│ └── vite.config.js
├── fs-serve
│ ├── __tests__
│ │ ├── base
│ │ │ └── fs-serve-base.spec.ts
│ │ ├── deny
│ │ │ └── fs-serve-deny.spec.ts
│ │ └── fs-serve.spec.ts
│ ├── entry.js
│ ├── nested
│ │ └── foo.js
│ ├── package.json
│ ├── root
│ │ ├── src
│ │ │ ├── .env
│ │ │ ├── code.js
│ │ │ ├── deny
│ │ │ │ ├── .deny
│ │ │ │ └── deny.txt
│ │ │ ├── dummy.crt
│ │ │ ├── index.html
│ │ │ ├── safe.txt
│ │ │ ├── special characters åäö
│ │ │ │ ├── safe.json
│ │ │ │ └── safe.txt
│ │ │ └── subdir
│ │ │ │ └── safe.txt
│ │ ├── unsafe.svg
│ │ ├── unsafe.txt
│ │ ├── vite.config-base.js
│ │ ├── vite.config-deny.js
│ │ └── vite.config.js
│ ├── safe.json
│ └── unsafe.json
├── glob-import
│ ├── __tests__
│ │ └── glob-import.spec.ts
│ ├── dir
│ │ ├── alias.js
│ │ ├── baz.json
│ │ ├── foo.css
│ │ ├── foo.js
│ │ ├── index.js
│ │ ├── nested
│ │ │ └── bar.js
│ │ ├── node_modules
│ │ │ └── hoge.js
│ │ └── quote'.js
│ ├── escape
│ │ ├── (parenthesis)
│ │ │ ├── glob.js
│ │ │ └── mod
│ │ │ │ └── index.js
│ │ ├── [brackets]
│ │ │ ├── glob.js
│ │ │ └── mod
│ │ │ │ └── index.js
│ │ └── {curlies}
│ │ │ ├── glob.js
│ │ │ └── mod
│ │ │ └── index.js
│ ├── import-meta-glob-pkg
│ │ ├── index.js
│ │ └── package.json
│ ├── imports-path
│ │ ├── bar.js
│ │ └── foo.js
│ ├── index.html
│ ├── no-tree-shake.css
│ ├── package.json
│ ├── pkg-pages
│ │ └── foo.js
│ ├── side-effect
│ │ ├── writedom.js
│ │ └── writetodom.js
│ ├── tree-shake.css
│ └── vite.config.ts
├── hmr-root
│ ├── __tests__
│ │ └── hmr-root.spec.ts
│ ├── foo.js
│ ├── root
│ │ └── index.html
│ └── vite.config.ts
├── hmr-ssr
│ ├── __tests__
│ │ └── hmr-ssr.spec.ts
│ ├── accept-exports
│ │ ├── dynamic-imports
│ │ │ ├── deps-all-accepted.ts
│ │ │ ├── deps-some-accepted.ts
│ │ │ ├── dynamic-imports.ts
│ │ │ └── index.ts
│ │ ├── export-from
│ │ │ ├── depA.ts
│ │ │ ├── export-from.ts
│ │ │ ├── hub.ts
│ │ │ └── index.html
│ │ ├── main-accepted
│ │ │ ├── callback.ts
│ │ │ ├── dep.ts
│ │ │ ├── index.ts
│ │ │ ├── main-accepted.ts
│ │ │ └── target.ts
│ │ ├── main-non-accepted
│ │ │ ├── default.ts
│ │ │ ├── dep.ts
│ │ │ ├── index.ts
│ │ │ ├── main-non-accepted.ts
│ │ │ └── named.ts
│ │ ├── reexports.bak
│ │ │ ├── accept-named.ts
│ │ │ ├── index.html
│ │ │ ├── reexports.ts
│ │ │ └── source.ts
│ │ ├── side-effects
│ │ │ ├── index.ts
│ │ │ └── side-effects.ts
│ │ ├── star-imports
│ │ │ ├── deps-all-accepted.ts
│ │ │ ├── deps-some-accepted.ts
│ │ │ ├── index.ts
│ │ │ └── star-imports.ts
│ │ └── unused-exports
│ │ │ ├── index.html
│ │ │ ├── index.ts
│ │ │ ├── unused.ts
│ │ │ └── used.ts
│ ├── circular
│ │ ├── index.js
│ │ ├── mod-a.js
│ │ ├── mod-b.js
│ │ └── mod-c.js
│ ├── counter
│ │ ├── dep.ts
│ │ └── index.ts
│ ├── customFile.js
│ ├── event.d.ts
│ ├── file-delete-restore
│ │ ├── child.js
│ │ ├── index.js
│ │ ├── parent.js
│ │ └── runtime.js
│ ├── hmr.ts
│ ├── hmrDep.js
│ ├── hmrNestedDep.js
│ ├── importedVirtual.js
│ ├── importing-updated
│ │ ├── a.js
│ │ ├── b.js
│ │ └── index.js
│ ├── intermediate-file-delete
│ │ ├── display.js
│ │ ├── index.js
│ │ └── re-export.js
│ ├── invalidation-circular-deps
│ │ ├── circular-invalidate
│ │ │ ├── child.js
│ │ │ └── parent.js
│ │ ├── index.js
│ │ └── invalidate-handled-in-circle
│ │ │ ├── child.js
│ │ │ └── parent.js
│ ├── invalidation
│ │ ├── child.js
│ │ └── parent.js
│ ├── logo-no-inline.svg
│ ├── logo.svg
│ ├── missing-import
│ │ ├── a.js
│ │ ├── index.js
│ │ └── main.js
│ ├── modules.d.ts
│ ├── non-tested
│ │ ├── dep.js
│ │ └── index.js
│ ├── optional-chaining
│ │ ├── child.js
│ │ └── parent.js
│ ├── package.json
│ ├── queries
│ │ ├── index.js
│ │ └── multi-query.js
│ ├── self-accept-within-circular
│ │ ├── a.js
│ │ ├── b.js
│ │ ├── c.js
│ │ └── index.js
│ ├── soft-invalidation
│ │ ├── child.js
│ │ └── index.js
│ ├── unresolved.ts
│ └── vite.config.ts
├── hmr
│ ├── __tests__
│ │ └── hmr.spec.ts
│ ├── accept-exports
│ │ ├── dynamic-imports
│ │ │ ├── deps-all-accepted.ts
│ │ │ ├── deps-some-accepted.ts
│ │ │ ├── dynamic-imports.ts
│ │ │ └── index.html
│ │ ├── export-from
│ │ │ ├── depA.ts
│ │ │ ├── export-from.ts
│ │ │ ├── hub.ts
│ │ │ └── index.html
│ │ ├── main-accepted
│ │ │ ├── callback.ts
│ │ │ ├── dep.ts
│ │ │ ├── index.html
│ │ │ ├── main-accepted.ts
│ │ │ └── target.ts
│ │ ├── main-non-accepted
│ │ │ ├── default.ts
│ │ │ ├── dep.ts
│ │ │ ├── index.html
│ │ │ ├── main-non-accepted.ts
│ │ │ └── named.ts
│ │ ├── reexports.bak
│ │ │ ├── accept-named.ts
│ │ │ ├── index.html
│ │ │ ├── reexports.ts
│ │ │ └── source.ts
│ │ ├── side-effects
│ │ │ ├── index.html
│ │ │ └── side-effects.ts
│ │ ├── star-imports
│ │ │ ├── deps-all-accepted.ts
│ │ │ ├── deps-some-accepted.ts
│ │ │ ├── index.html
│ │ │ └── star-imports.ts
│ │ └── unused-exports
│ │ │ ├── index.html
│ │ │ ├── index.ts
│ │ │ ├── unused.ts
│ │ │ └── used.ts
│ ├── circular
│ │ ├── index.js
│ │ ├── mod-a.js
│ │ ├── mod-b.js
│ │ └── mod-c.js
│ ├── counter
│ │ ├── dep.ts
│ │ ├── index.html
│ │ └── index.ts
│ ├── css-deps
│ │ ├── dep.js
│ │ ├── index.html
│ │ └── main.css
│ ├── customFile.js
│ ├── event.d.ts
│ ├── file-delete-restore
│ │ ├── child.js
│ │ ├── index.js
│ │ ├── parent.js
│ │ └── runtime.js
│ ├── global.css
│ ├── hmr.ts
│ ├── hmrDep.js
│ ├── hmrNestedDep.js
│ ├── icon.png
│ ├── importedVirtual.js
│ ├── importing-updated
│ │ ├── a.js
│ │ ├── b.js
│ │ └── index.js
│ ├── index.html
│ ├── intermediate-file-delete
│ │ ├── display.js
│ │ ├── index.js
│ │ └── re-export.js
│ ├── invalidation-circular-deps
│ │ ├── circular-invalidate
│ │ │ ├── child.js
│ │ │ └── parent.js
│ │ ├── index.js
│ │ └── invalidate-handled-in-circle
│ │ │ ├── child.js
│ │ │ └── parent.js
│ ├── invalidation
│ │ ├── child.js
│ │ ├── parent.js
│ │ └── root.js
│ ├── logo-no-inline.svg
│ ├── logo.svg
│ ├── missing-file
│ │ ├── index.html
│ │ └── main.js
│ ├── missing-import
│ │ ├── a.js
│ │ ├── index.html
│ │ └── main.js
│ ├── modules.d.ts
│ ├── optional-chaining
│ │ ├── child.js
│ │ └── parent.js
│ ├── package.json
│ ├── self-accept-within-circular
│ │ ├── a.js
│ │ ├── b.js
│ │ ├── c.js
│ │ ├── index.html
│ │ └── index.js
│ ├── soft-invalidation
│ │ ├── child.js
│ │ └── index.js
│ ├── unicode-path
│ │ └── 中文-にほんご-한글-🌕🌖🌗
│ │ │ └── index.html
│ └── vite.config.ts
├── html
│ ├── .env
│ ├── __tests__
│ │ └── html.spec.ts
│ ├── a á.html
│ ├── common.css
│ ├── emptyAttr.html
│ ├── env.html
│ ├── foo.html
│ ├── importmapOrder.html
│ ├── index.html
│ ├── inline
│ │ ├── common.js
│ │ ├── dep1.js
│ │ ├── dep2.js
│ │ ├── dep3.js
│ │ ├── module-graph.dot
│ │ ├── shared-1.html
│ │ ├── shared-2.html
│ │ ├── shared.js
│ │ ├── shared_a.html
│ │ ├── unique.html
│ │ └── unique.js
│ ├── invalid.html
│ ├── link-props
│ │ ├── index.html
│ │ ├── print.css
│ │ └── screen.css
│ ├── link.html
│ ├── main.css
│ ├── main.js
│ ├── nested
│ │ ├── asset
│ │ │ ├── main.js
│ │ │ └── style.css
│ │ ├── index.html
│ │ ├── nested.css
│ │ └── nested.js
│ ├── noBody.html
│ ├── noHead.html
│ ├── package.json
│ ├── public
│ │ └── sprite.svg
│ ├── relative-input.html
│ ├── relative-input
│ │ └── main.js
│ ├── scriptAsync.html
│ ├── scriptMixed.html
│ ├── serve
│ │ ├── both.html
│ │ ├── both
│ │ │ └── index.html
│ │ ├── file.html
│ │ └── folder
│ │ │ └── index.html
│ ├── shared.js
│ ├── side-effects
│ │ ├── index.html
│ │ ├── package.json
│ │ └── sideEffects.js
│ ├── transform-inline-js.html
│ ├── unicode-path
│ │ └── 中文-にほんご-한글-🌕🌖🌗
│ │ │ └── index.html
│ ├── valid.html
│ ├── valid.js
│ ├── vite.config.js
│ ├── warmup
│ │ └── warm.js
│ ├── write.html
│ └── zeroJS.html
├── import-assertion
│ ├── __tests__
│ │ └── import-assertion.spec.ts
│ ├── data.json
│ ├── import-assertion-dep
│ │ ├── data.json
│ │ ├── index.js
│ │ └── package.json
│ ├── index.html
│ └── package.json
├── js-sourcemap
│ ├── __tests__
│ │ └── js-sourcemap.spec.ts
│ ├── after-preload-dynamic-hashbang.js
│ ├── after-preload-dynamic-no-dep.js
│ ├── after-preload-dynamic.js
│ ├── bar.ts
│ ├── dynamic
│ │ ├── dynamic-foo.css
│ │ ├── dynamic-foo.js
│ │ └── dynamic-no-dep.js
│ ├── foo-with-sourcemap-plugin.ts
│ ├── foo-with-sourcemap.js
│ ├── foo.js
│ ├── importee-pkg
│ │ ├── index.js
│ │ └── package.json
│ ├── index.html
│ ├── package.json
│ ├── plugin-foo.js
│ ├── test-ssr-dev.js
│ ├── vite.config.js
│ ├── with-define-object-ssr.ts
│ ├── with-define-object.ts
│ ├── with-multiline-import.ts
│ ├── zoo-with-sourcemap-plugin.ts
│ └── zoo.js
├── json
│ ├── __tests__
│ │ └── csr
│ │ │ └── json-csr.spec.ts
│ ├── hmr.json
│ ├── index.html
│ ├── json-bom
│ │ └── has-bom.json
│ ├── json-module
│ │ ├── index.json
│ │ └── package.json
│ ├── package.json
│ ├── public
│ │ └── public.json
│ └── test.json
├── legacy
│ ├── __tests__
│ │ ├── client-and-ssr
│ │ │ ├── legacy-client-legacy-ssr-sequential-builds.spec.ts
│ │ │ └── serve.ts
│ │ ├── legacy.spec.ts
│ │ ├── no-polyfills-no-systemjs
│ │ │ └── legacy-no-polyfills-no-systemjs.spec.ts
│ │ ├── no-polyfills
│ │ │ └── legacy-no-polyfills.spec.ts
│ │ ├── ssr
│ │ │ ├── legacy-ssr.spec.ts
│ │ │ └── serve.ts
│ │ └── watch
│ │ │ └── legacy-styles-only-entry-watch.spec.ts
│ ├── async.js
│ ├── custom0.js
│ ├── custom1.js
│ ├── custom2.js
│ ├── dynamic.css
│ ├── entry-server-sequential.js
│ ├── entry-server.js
│ ├── immutable-chunk.js
│ ├── index.html
│ ├── main.js
│ ├── module.js
│ ├── nested
│ │ └── index.html
│ ├── no-polyfills-no-systemjs.html
│ ├── no-polyfills-no-systemjs.js
│ ├── no-polyfills.html
│ ├── no-polyfills.js
│ ├── package.json
│ ├── style-only-entry.css
│ ├── style.css
│ ├── vite.config-custom-filename.js
│ ├── vite.config-multiple-output.js
│ ├── vite.config-no-polyfills-no-systemjs.js
│ ├── vite.config-no-polyfills.js
│ ├── vite.config-watch.js
│ ├── vite.config.js
│ ├── vite.svg
│ └── worker.js
├── lib
│ ├── __tests__
│ │ ├── lib.spec.ts
│ │ └── serve.ts
│ ├── index.dist.html
│ ├── index.html
│ ├── package.json
│ ├── src
│ │ ├── css-entry-1.js
│ │ ├── css-entry-2.js
│ │ ├── dynamic.css
│ │ ├── entry-1.css
│ │ ├── entry-2.css
│ │ ├── index.css
│ │ ├── main-helpers-injection.js
│ │ ├── main-multiple-output.js
│ │ ├── main-named.js
│ │ ├── main.js
│ │ ├── main2.js
│ │ ├── message.js
│ │ └── sub-multiple-output.js
│ ├── vite.config.js
│ ├── vite.css-code-split.config.js
│ ├── vite.css-multi-entry.config.js
│ ├── vite.css-single-entry.config.js
│ ├── vite.dyimport.config.js
│ ├── vite.helpers-injection.config.js
│ ├── vite.multiple-output.config.js
│ ├── vite.named-exports.config.js
│ └── vite.nominify.config.js
├── minify
│ ├── __tests__
│ │ └── minify.spec.ts
│ ├── dir
│ │ └── module
│ │ │ ├── index.css
│ │ │ ├── index.js
│ │ │ └── package.json
│ ├── index.html
│ ├── main.js
│ ├── package.json
│ ├── test.css
│ └── vite.config.js
├── module-graph
│ ├── __tests__
│ │ └── module-graph.spec.ts
│ ├── empty.js
│ ├── imported-urls-order.js
│ ├── index.html
│ ├── package.json
│ └── vite.config.ts
├── multiple-entrypoints
│ ├── __tests__
│ │ └── multiple-entrypoints.spec.ts
│ ├── deps.json
│ ├── dynamic-a.js
│ ├── dynamic-b.js
│ ├── entrypoints
│ │ ├── a0.js
│ │ ├── a1.js
│ │ ├── a10.js
│ │ ├── a11.js
│ │ ├── a12.js
│ │ ├── a13.js
│ │ ├── a14.js
│ │ ├── a15.js
│ │ ├── a16.js
│ │ ├── a17.js
│ │ ├── a18.js
│ │ ├── a19.js
│ │ ├── a2.js
│ │ ├── a20.js
│ │ ├── a21.js
│ │ ├── a22.js
│ │ ├── a23.js
│ │ ├── a24.js
│ │ ├── a3.js
│ │ ├── a4.js
│ │ ├── a5.js
│ │ ├── a6.js
│ │ ├── a7.js
│ │ ├── a8.js
│ │ └── a9.js
│ ├── index.html
│ ├── index.js
│ ├── package.json
│ ├── reference.js
│ ├── reference.scss
│ └── vite.config.js
├── nested-deps
│ ├── __tests__
│ │ └── nested-deps.spec.ts
│ ├── index.html
│ ├── package.json
│ ├── test-package-a
│ │ ├── index.js
│ │ └── package.json
│ ├── test-package-b
│ │ ├── index.js
│ │ ├── node_modules
│ │ │ └── test-package-a
│ │ │ │ ├── index.js
│ │ │ │ └── package.json
│ │ └── package.json
│ ├── test-package-c
│ │ ├── index-es.js
│ │ ├── index.js
│ │ ├── package.json
│ │ └── side.js
│ ├── test-package-d
│ │ ├── index.js
│ │ ├── package.json
│ │ └── test-package-d-nested
│ │ │ ├── index.js
│ │ │ └── package.json
│ ├── test-package-e
│ │ ├── index.js
│ │ ├── package.json
│ │ ├── test-package-e-excluded
│ │ │ ├── index.js
│ │ │ └── package.json
│ │ └── test-package-e-included
│ │ │ ├── index.js
│ │ │ └── package.json
│ ├── test-package-f
│ │ ├── index.js
│ │ └── package.json
│ └── vite.config.js
├── object-hooks
│ ├── __tests__
│ │ └── object-hooks.spec.ts
│ ├── index.html
│ ├── main.ts
│ ├── package.json
│ └── vite.config.ts
├── optimize-deps-no-discovery
│ ├── __tests__
│ │ └── optimize-deps-no-discovery.spec.ts
│ ├── dep-no-discovery
│ │ ├── index.js
│ │ └── package.json
│ ├── index.html
│ ├── package.json
│ └── vite.config.js
├── optimize-deps
│ ├── .hidden-dir
│ │ └── foo.js
│ ├── __tests__
│ │ └── optimize-deps.spec.ts
│ ├── added-in-entries
│ │ ├── index.js
│ │ └── package.json
│ ├── cjs-dynamic.js
│ ├── cjs.js
│ ├── dedupe.js
│ ├── dep-alias-using-absolute-path
│ │ ├── index.js
│ │ └── package.json
│ ├── dep-cjs-browser-field-bare
│ │ ├── events-shim.js
│ │ ├── index.js
│ │ ├── internal.js
│ │ └── package.json
│ ├── dep-cjs-compiled-from-cjs
│ │ ├── index.js
│ │ └── package.json
│ ├── dep-cjs-compiled-from-esm
│ │ ├── index.js
│ │ └── package.json
│ ├── dep-cjs-external-package-omit-js-suffix
│ │ ├── index.js
│ │ ├── package.json
│ │ ├── test.astro.js
│ │ ├── test.okay.js
│ │ ├── test.scss.js
│ │ └── test.tsx.js
│ ├── dep-cjs-with-assets
│ │ ├── foo.css
│ │ ├── index.js
│ │ └── package.json
│ ├── dep-cjs-with-external-deps
│ │ ├── index.js
│ │ └── package.json
│ ├── dep-css-require
│ │ ├── index.cjs
│ │ ├── mod.cjs
│ │ ├── mod.module.css
│ │ ├── package.json
│ │ └── style.css
│ ├── dep-esbuild-plugin-transform
│ │ ├── index.js
│ │ └── package.json
│ ├── dep-esm-dummy-node-builtin
│ │ ├── index.js
│ │ └── package.json
│ ├── dep-esm-external
│ │ ├── index.js
│ │ └── package.json
│ ├── dep-incompatible
│ │ ├── index.js
│ │ ├── package.json
│ │ └── sub.js
│ ├── dep-linked-include
│ │ ├── Test.vue
│ │ ├── foo.js
│ │ ├── index.mjs
│ │ ├── package.json
│ │ └── test.css
│ ├── dep-linked
│ │ ├── index.js
│ │ └── package.json
│ ├── dep-node-env
│ │ ├── index.js
│ │ └── package.json
│ ├── dep-non-optimized
│ │ ├── index.js
│ │ └── package.json
│ ├── dep-not-js
│ │ ├── foo.js
│ │ ├── index.notjs
│ │ └── package.json
│ ├── dep-optimize-exports-with-glob
│ │ ├── glob
│ │ │ ├── bar.js
│ │ │ ├── foo.js
│ │ │ └── nested
│ │ │ │ └── baz.js
│ │ ├── index.js
│ │ ├── named.js
│ │ └── package.json
│ ├── dep-optimize-exports-with-root-glob
│ │ ├── dir
│ │ │ └── file2.js
│ │ ├── file1.js
│ │ ├── index.js
│ │ └── package.json
│ ├── dep-optimize-with-glob
│ │ ├── glob
│ │ │ ├── bar.js
│ │ │ ├── foo.js
│ │ │ └── nested
│ │ │ │ └── baz.js
│ │ ├── index.js
│ │ ├── named.js
│ │ └── package.json
│ ├── dep-relative-to-main
│ │ ├── entry.js
│ │ ├── lib
│ │ │ └── main.js
│ │ └── package.json
│ ├── dep-source-map-no-sources
│ │ ├── all.js
│ │ ├── package.json
│ │ └── sub.js
│ ├── dep-with-asset-ext
│ │ ├── dep1
│ │ │ ├── index.mjs
│ │ │ └── package.json
│ │ └── dep2
│ │ │ ├── index.js
│ │ │ └── package.json
│ ├── dep-with-builtin-module-cjs
│ │ ├── index.js
│ │ └── package.json
│ ├── dep-with-builtin-module-esm
│ │ ├── index.js
│ │ └── package.json
│ ├── dep-with-dynamic-import
│ │ ├── dynamic.js
│ │ ├── index.js
│ │ └── package.json
│ ├── dep-with-optional-peer-dep-cjs
│ │ ├── index.js
│ │ └── package.json
│ ├── dep-with-optional-peer-dep-submodule
│ │ ├── index.js
│ │ └── package.json
│ ├── dep-with-optional-peer-dep
│ │ ├── index.js
│ │ └── package.json
│ ├── dynamic-use-dep-alias-using-absolute-path.js
│ ├── generics.vue
│ ├── glob
│ │ └── foo.js
│ ├── index.astro
│ ├── index.html
│ ├── long-file-name.js
│ ├── longfilename
│ │ ├── index.js
│ │ └── package.json
│ ├── nested-exclude
│ │ ├── index.js
│ │ └── package.json
│ ├── nested-include
│ │ ├── index.js
│ │ └── package.json
│ ├── non-optimizable-include
│ │ ├── index.css
│ │ └── package.json
│ ├── package.json
│ ├── unused-split-entry.js
│ └── vite.config.js
├── optimize-missing-deps
│ ├── __test__
│ │ ├── optimize-missing-deps.spec.ts
│ │ └── serve.ts
│ ├── index.html
│ ├── main.js
│ ├── missing-dep
│ │ ├── index.js
│ │ └── package.json
│ ├── multi-entry-dep
│ │ ├── index.browser.js
│ │ ├── index.js
│ │ └── package.json
│ ├── package.json
│ └── server.js
├── package.json
├── preload
│ ├── __tests__
│ │ ├── preload-disabled
│ │ │ └── preload-disabled.spec.ts
│ │ ├── preload.spec.ts
│ │ └── resolve-deps
│ │ │ └── preload-resolve-deps.spec.ts
│ ├── dep-a
│ │ ├── index.js
│ │ └── package.json
│ ├── dep-including-a
│ │ ├── index.js
│ │ └── package.json
│ ├── index.html
│ ├── package.json
│ ├── public
│ │ └── preloaded.js
│ ├── src
│ │ ├── about.js
│ │ ├── chunk.js
│ │ ├── hello.js
│ │ ├── hello.module.css
│ │ └── main.js
│ ├── vite.config-preload-disabled.js
│ ├── vite.config-resolve-deps.js
│ └── vite.config.ts
├── preserve-symlinks
│ ├── __tests__
│ │ └── preserve-symlinks.spec.ts
│ ├── index.html
│ ├── module-a
│ │ ├── linked.js
│ │ ├── package.json
│ │ └── src
│ │ │ ├── data.js
│ │ │ └── index.js
│ ├── package.json
│ └── src
│ │ └── main.js
├── proxy-bypass
│ ├── __tests__
│ │ └── proxy-bypass.spec.ts
│ ├── index.html
│ ├── package.json
│ └── vite.config.js
├── proxy-hmr
│ ├── __tests__
│ │ ├── proxy-hmr.spec.ts
│ │ └── serve.ts
│ ├── index.html
│ ├── other-app
│ │ ├── index.html
│ │ ├── package.json
│ │ └── vite.config.js
│ ├── package.json
│ └── vite.config.js
├── resolve-linked
│ ├── dep.js
│ ├── package.json
│ └── src
│ │ └── index.js
├── resolve
│ ├── __tests__
│ │ ├── mainfields-custom-first
│ │ │ └── resolve-mainfields-custom-first.spec.ts
│ │ └── resolve.spec.ts
│ ├── absolute.js
│ ├── browser-field-bare-import-fail
│ │ ├── main.js
│ │ ├── module.js
│ │ └── package.json
│ ├── browser-field-bare-import-success
│ │ ├── main.js
│ │ ├── module.js
│ │ └── package.json
│ ├── browser-field
│ │ ├── bare-import.js
│ │ ├── multiple.dot.path.js
│ │ ├── no-ext-index
│ │ │ └── index.js
│ │ ├── no-ext.js
│ │ ├── not-browser.js
│ │ ├── out
│ │ │ ├── cjs.node.js
│ │ │ └── esm.browser.js
│ │ ├── package.json
│ │ └── relative.js
│ ├── browser-module-field1
│ │ ├── index.js
│ │ ├── index.web.js
│ │ └── package.json
│ ├── browser-module-field2
│ │ ├── index.js
│ │ ├── index.web.js
│ │ └── package.json
│ ├── browser-module-field3
│ │ ├── index.js
│ │ ├── index.web.js
│ │ └── package.json
│ ├── config-dep.cjs
│ ├── custom-browser-main-field
│ │ ├── index.browser.js
│ │ ├── index.custom.js
│ │ ├── index.js
│ │ └── package.json
│ ├── custom-condition
│ │ ├── index.custom.js
│ │ ├── index.js
│ │ └── package.json
│ ├── custom-ext.es
│ ├── custom-main-field
│ │ ├── index.custom.js
│ │ ├── index.js
│ │ └── package.json
│ ├── dir-with-ext.js
│ │ └── empty
│ ├── dir-with-ext
│ │ └── index.js
│ ├── dir.js
│ ├── dir
│ │ └── index.js
│ ├── drive-relative.js
│ ├── exact-extension
│ │ ├── file.js
│ │ ├── file.js.js
│ │ └── file.json.js
│ ├── exports-and-nested-scope
│ │ ├── index.js
│ │ ├── nested-scope
│ │ │ ├── file.js
│ │ │ └── package.json
│ │ └── package.json
│ ├── exports-env
│ │ ├── browser.js
│ │ ├── browser.mjs
│ │ ├── browser.prod.mjs
│ │ ├── fallback.umd.js
│ │ └── package.json
│ ├── exports-from-root
│ │ ├── file.js
│ │ ├── index.js
│ │ ├── nested
│ │ │ ├── file.js
│ │ │ └── package.json
│ │ └── package.json
│ ├── exports-legacy-fallback
│ │ ├── dir
│ │ │ ├── index.js
│ │ │ ├── index.mjs
│ │ │ └── package.json
│ │ ├── index.js
│ │ └── package.json
│ ├── exports-path
│ │ ├── cjs.js
│ │ ├── deep.js
│ │ ├── deep.json
│ │ ├── dir
│ │ │ └── dir.js
│ │ ├── main.js
│ │ └── package.json
│ ├── exports-with-module-condition-required
│ │ ├── index.cjs
│ │ └── package.json
│ ├── exports-with-module-condition
│ │ ├── index.esm.js
│ │ ├── index.js
│ │ ├── index.mjs
│ │ └── package.json
│ ├── exports-with-module
│ │ ├── import.mjs
│ │ ├── module.mjs
│ │ └── package.json
│ ├── file-url.js
│ ├── imports-path
│ │ ├── nested-path.js
│ │ ├── other-pkg
│ │ │ ├── nest
│ │ │ │ └── index.js
│ │ │ └── package.json
│ │ ├── query.json
│ │ ├── same-level.js
│ │ ├── slash
│ │ │ └── index.js
│ │ ├── star
│ │ │ └── index.js
│ │ └── top-level.js
│ ├── index.html
│ ├── inline-package
│ │ ├── inline.js
│ │ └── package.json
│ ├── non-normalized.js
│ ├── package.json
│ ├── public
│ │ └── should-not-be-copied
│ ├── require-pkg-with-module-field
│ │ ├── dep.cjs
│ │ ├── index.cjs
│ │ └── package.json
│ ├── sharp-dir
│ │ ├── index.cjs
│ │ └── package.json
│ ├── ts-extension
│ │ ├── hello.ts
│ │ ├── hellocjs.cts
│ │ ├── hellojsx.tsx
│ │ ├── hellomjs.mts
│ │ ├── hellotsx.tsx
│ │ ├── index-js.js
│ │ └── index.ts
│ ├── utf8-bom-package
│ │ ├── index.mjs
│ │ └── package.json
│ ├── utf8-bom
│ │ └── main.js
│ ├── util
│ │ ├── bar.util.js
│ │ └── index.js
│ ├── vite.config-mainfields-custom-first.js
│ └── vite.config.js
├── self-referencing
│ ├── index.js
│ ├── package.json
│ └── test
│ │ └── index.js
├── shims.d.ts
├── ssr-alias
│ ├── __tests__
│ │ └── ssr-alias.spec.ts
│ ├── alias-original
│ │ ├── index.js
│ │ └── package.json
│ ├── package.json
│ ├── src
│ │ ├── alias-process.js
│ │ ├── alias-replaced.js
│ │ └── main.js
│ └── vite.config.js
├── ssr-conditions
│ ├── __tests__
│ │ ├── serve.ts
│ │ └── ssr-conditions.spec.ts
│ ├── external
│ │ ├── browser.js
│ │ ├── default.js
│ │ ├── edge.js
│ │ ├── node.js
│ │ ├── node.unbundled.js
│ │ └── package.json
│ ├── index.html
│ ├── no-external
│ │ ├── browser.js
│ │ ├── default.js
│ │ ├── edge.js
│ │ ├── node.js
│ │ ├── node.unbundled.js
│ │ └── package.json
│ ├── package.json
│ ├── server.js
│ ├── src
│ │ └── app.js
│ └── vite.config.js
├── ssr-deps
│ ├── __tests__
│ │ ├── serve.ts
│ │ └── ssr-deps.spec.ts
│ ├── css-lib
│ │ ├── index.css
│ │ └── package.json
│ ├── define-properties-exports
│ │ ├── index.js
│ │ └── package.json
│ ├── define-property-exports
│ │ ├── index.js
│ │ └── package.json
│ ├── external-entry
│ │ ├── entry.js
│ │ ├── index.js
│ │ └── package.json
│ ├── external-using-external-entry
│ │ ├── index.js
│ │ └── package.json
│ ├── forwarded-export
│ │ ├── index.js
│ │ └── package.json
│ ├── import-builtin-cjs
│ │ ├── index.js
│ │ └── package.json
│ ├── index.html
│ ├── linked-no-external
│ │ ├── index.js
│ │ └── package.json
│ ├── message
│ ├── module-condition
│ │ ├── import.mjs
│ │ ├── module.js
│ │ └── package.json
│ ├── nested-exclude
│ │ ├── index.js
│ │ └── package.json
│ ├── nested-external-cjs
│ │ ├── index.js
│ │ └── package.json
│ ├── nested-external
│ │ ├── index.js
│ │ └── package.json
│ ├── nested-include
│ │ ├── index.js
│ │ └── package.json
│ ├── no-external-cjs
│ │ ├── index.js
│ │ └── package.json
│ ├── no-external-css
│ │ ├── index.css
│ │ └── package.json
│ ├── non-optimized-with-nested-external
│ │ ├── index.js
│ │ └── package.json
│ ├── object-assigned-exports
│ │ ├── index.js
│ │ └── package.json
│ ├── only-object-assigned-exports
│ │ ├── index.js
│ │ └── package.json
│ ├── optimized-cjs-with-nested-external
│ │ ├── index.js
│ │ └── package.json
│ ├── optimized-with-nested-external
│ │ ├── index.js
│ │ └── package.json
│ ├── package.json
│ ├── pkg-exports
│ │ ├── index.js
│ │ └── package.json
│ ├── primitive-export
│ │ ├── index.js
│ │ └── package.json
│ ├── read-file-content
│ │ ├── index.js
│ │ └── package.json
│ ├── require-absolute
│ │ ├── foo.js
│ │ ├── index.js
│ │ └── package.json
│ ├── server.js
│ ├── src
│ │ ├── app.js
│ │ ├── isomorphic-module-browser.js
│ │ └── isomorphic-module-server.js
│ └── ts-transpiled-exports
│ │ ├── index.js
│ │ └── package.json
├── ssr-html
│ ├── __tests__
│ │ ├── serve.ts
│ │ └── ssr-html.spec.ts
│ ├── index.html
│ ├── package.json
│ ├── public
│ │ └── slash@3.0.0.js
│ ├── server.js
│ ├── src
│ │ ├── app.js
│ │ ├── error-js.js
│ │ ├── error-ts.ts
│ │ ├── has-error-deep.ts
│ │ ├── importedVirtual.js
│ │ └── network-imports.js
│ ├── test-network-imports.js
│ ├── test-stacktrace-runtime.js
│ └── test-stacktrace.js
├── ssr-noexternal
│ ├── __tests__
│ │ ├── serve.ts
│ │ └── ssr-noexternal.spec.ts
│ ├── external-cjs
│ │ ├── import.mjs
│ │ ├── package.json
│ │ └── require.cjs
│ ├── index.html
│ ├── package.json
│ ├── require-external-cjs
│ │ ├── main.js
│ │ └── package.json
│ ├── server.js
│ ├── src
│ │ └── entry-server.js
│ └── vite.config.js
├── ssr-pug
│ ├── __tests__
│ │ ├── serve.ts
│ │ └── ssr-pug.spec.ts
│ ├── index.pug
│ ├── package.json
│ ├── server.js
│ └── src
│ │ └── app.js
├── ssr-resolve
│ ├── __tests__
│ │ └── ssr-resolve.spec.ts
│ ├── deep-import
│ │ ├── bar
│ │ │ └── package.json
│ │ ├── foo
│ │ │ ├── index.js
│ │ │ └── package.json
│ │ ├── index.js
│ │ ├── package.json
│ │ └── utils
│ │ │ └── bar.js
│ ├── entries
│ │ ├── dir
│ │ │ └── index.js
│ │ ├── file.js
│ │ └── package.json
│ ├── main.js
│ ├── package.json
│ ├── pkg-exports
│ │ ├── entry.js
│ │ ├── index.js
│ │ └── package.json
│ ├── util.js
│ └── vite.config.js
├── ssr-webworker
│ ├── __tests__
│ │ ├── serve.ts
│ │ └── ssr-webworker.spec.ts
│ ├── browser-exports
│ │ ├── browser.js
│ │ ├── node.js
│ │ └── package.json
│ ├── package.json
│ ├── src
│ │ ├── dynamic.js
│ │ └── entry-worker.jsx
│ ├── vite.config.js
│ ├── worker-exports
│ │ ├── browser.js
│ │ ├── node.js
│ │ ├── package.json
│ │ └── worker.js
│ └── worker.js
├── ssr
│ ├── __tests__
│ │ ├── serve.ts
│ │ └── ssr.spec.ts
│ ├── index.html
│ ├── package.json
│ ├── server.js
│ ├── src
│ │ ├── app.js
│ │ ├── circular-dep-init
│ │ │ ├── README.md
│ │ │ ├── circular-dep-init.js
│ │ │ ├── module-a.js
│ │ │ └── module-b.js
│ │ ├── circular-import
│ │ │ ├── a.js
│ │ │ ├── b.js
│ │ │ └── index.js
│ │ ├── circular-import2
│ │ │ ├── a.js
│ │ │ ├── b.js
│ │ │ └── index.js
│ │ ├── forked-deadlock
│ │ │ ├── README.md
│ │ │ ├── common-module.js
│ │ │ ├── deadlock-fuse-module.js
│ │ │ ├── dynamic-imports
│ │ │ │ ├── common-module.js
│ │ │ │ ├── deadlock-fuse-module.js
│ │ │ │ ├── fuse-stuck-bridge-module.js
│ │ │ │ ├── middle-module.js
│ │ │ │ └── stuck-module.js
│ │ │ ├── fuse-stuck-bridge-module.js
│ │ │ ├── middle-module.js
│ │ │ └── stuck-module.js
│ │ └── utils.js
│ └── vite.config.ts
├── tailwind-sourcemap
│ ├── __tests__
│ │ └── tailwind-sourcemap.spec.ts
│ ├── index.html
│ ├── package.json
│ ├── postcss.config.js
│ ├── tailwind.css
│ └── vite.config.js
├── tailwind-v3
│ ├── __test__
│ │ └── tailwind-v3.spec.ts
│ ├── index.css
│ ├── index.html
│ ├── package.json
│ ├── postcss.config.js
│ ├── src
│ │ ├── components
│ │ │ └── component1.js
│ │ ├── main.js
│ │ └── views
│ │ │ └── view1.js
│ ├── tailwind.config.ts
│ └── vite.config.ts
├── tailwind
│ ├── __test__
│ │ └── tailwind.spec.ts
│ ├── index.css
│ ├── index.html
│ ├── package.json
│ ├── public
│ │ └── favicon.ico
│ ├── src
│ │ ├── components
│ │ │ └── component1.js
│ │ ├── main.js
│ │ └── views
│ │ │ └── view1.js
│ ├── tailwind.config.ts
│ └── vite.config.ts
├── test-utils.ts
├── transform-plugin
│ ├── __tests__
│ │ ├── base
│ │ │ └── transform-plugin.spec.ts
│ │ ├── tests.ts
│ │ └── transform-plugin.spec.ts
│ ├── index.html
│ ├── index.js
│ ├── package.json
│ ├── plugin-dep-load.js
│ ├── plugin-dep.js
│ ├── vite.config-base.js
│ └── vite.config.js
├── tsconfig-json-load-error
│ ├── __tests__
│ │ ├── serve.ts
│ │ └── tsconfig-json-load-error.spec.ts
│ ├── has-error
│ │ ├── main.ts
│ │ └── tsconfig.json
│ ├── index.html
│ ├── package.json
│ ├── src
│ │ └── main.ts
│ └── tsconfig.json
├── tsconfig-json
│ ├── __tests__
│ │ └── tsconfig-json.spec.ts
│ ├── index.html
│ ├── nested-with-extends
│ │ ├── main.ts
│ │ ├── not-used-type.ts
│ │ └── tsconfig.json
│ ├── nested
│ │ ├── main.ts
│ │ ├── not-used-type.ts
│ │ └── tsconfig.json
│ ├── package.json
│ ├── src
│ │ ├── decorator.ts
│ │ ├── main.ts
│ │ └── not-used-type.ts
│ └── tsconfig.json
├── tsconfig.json
├── vitestGlobalSetup.ts
├── vitestSetup.ts
├── wasm
│ ├── __tests__
│ │ └── wasm.spec.ts
│ ├── add.wasm
│ ├── heavy.wasm
│ ├── heavy.wasm.map
│ ├── index.html
│ ├── light.wasm
│ ├── package.json
│ ├── vite.config.ts
│ └── worker.js
└── worker
│ ├── __tests__
│ ├── es
│ │ └── worker-es.spec.ts
│ ├── iife
│ │ └── worker-iife.spec.ts
│ ├── relative-base-iife
│ │ └── worker-relative-base-iife.spec.ts
│ ├── relative-base
│ │ └── worker-relative-base.spec.ts
│ ├── sourcemap-hidden
│ │ └── worker-sourcemap-hidden.spec.ts
│ ├── sourcemap-inline
│ │ └── worker-sourcemap-inline.spec.ts
│ └── sourcemap
│ │ └── worker-sourcemap.spec.ts
│ ├── classic-esm.js
│ ├── classic-shared-worker.js
│ ├── classic-worker.js
│ ├── deeply-nested-second-worker.js
│ ├── deeply-nested-third-worker.js
│ ├── deeply-nested-worker.js
│ ├── dep-cjs
│ ├── index.cjs
│ └── package.json
│ ├── dep-self-reference-url-worker
│ ├── index.js
│ ├── package.json
│ └── worker.js
│ ├── dep-to-optimize
│ ├── index.js
│ └── package.json
│ ├── emit-chunk-dynamic-import-worker.js
│ ├── emit-chunk-nested-worker.js
│ ├── emit-chunk-sub-worker.js
│ ├── importMetaGlob.worker.js
│ ├── importMetaGlobEager.worker.js
│ ├── index.html
│ ├── module-and-worker.js
│ ├── modules
│ ├── module0.js
│ ├── module1.js
│ ├── module2.js
│ ├── module3.js
│ ├── test-plugin.js
│ └── workerImport.ts
│ ├── my-inline-shared-worker.ts
│ ├── my-shared-worker.ts
│ ├── my-worker.ts
│ ├── package.json
│ ├── possible-ts-output-worker.mjs
│ ├── public
│ └── classic.js
│ ├── self-reference-url-worker.js
│ ├── self-reference-worker.js
│ ├── simple-worker.js
│ ├── sub-worker.js
│ ├── url-shared-worker.js
│ ├── url-worker.js
│ ├── vite.config-es.js
│ ├── vite.config-iife.js
│ ├── vite.config-relative-base-iife.js
│ ├── vite.config-relative-base.js
│ ├── vite.config-sourcemap-hidden.js
│ ├── vite.config-sourcemap-inline.js
│ ├── vite.config-sourcemap.js
│ ├── vite.svg
│ ├── worker-nested-worker.js
│ ├── worker-plugin-test-plugin.js
│ ├── worker-sourcemap-config.js
│ └── worker
│ ├── main-classic.js
│ ├── main-deeply-nested.js
│ ├── main-format-es.js
│ ├── main-module.js
│ ├── main-url.js
│ └── main.js
├── pnpm-lock.yaml
├── pnpm-workspace.yaml
├── scripts
├── docs-check.sh
├── extendCommitHash.ts
├── publishCI.ts
├── release.ts
├── releaseUtils.ts
└── tsconfig.json
├── vitest.config.e2e.ts
└── vitest.config.ts
/.gitattributes:
--------------------------------------------------------------------------------
1 | * text=auto eol=lf
2 |
--------------------------------------------------------------------------------
/docs/.vitepress/vite-env.d.ts:
--------------------------------------------------------------------------------
1 | ///
This should be green
2 | 3 | 4 | -------------------------------------------------------------------------------- /playground/css-dynamic-import/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@vitejs/test-css-dynamic-import", 3 | "private": true, 4 | "type": "module", 5 | "version": "0.0.0" 6 | } 7 | -------------------------------------------------------------------------------- /playground/css-dynamic-import/static.css: -------------------------------------------------------------------------------- 1 | .css-dynamic-import { 2 | color: red; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css-dynamic-import/static.js: -------------------------------------------------------------------------------- 1 | import './static.css' 2 | 3 | export const foo = 'foo' 4 | -------------------------------------------------------------------------------- /playground/css-lightningcss-root/root/index.html: -------------------------------------------------------------------------------- 1 |url() dependency
2 | 3 | 4 | -------------------------------------------------------------------------------- /playground/css-lightningcss-root/root/main.js: -------------------------------------------------------------------------------- 1 | import './url-dep.css' 2 | -------------------------------------------------------------------------------- /playground/css-lightningcss-root/root/ok.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vitejs/vite/e0586de502aa82a372039ec6cac50cf69414e6fc/playground/css-lightningcss-root/root/ok.png -------------------------------------------------------------------------------- /playground/css-lightningcss/composed.module.css: -------------------------------------------------------------------------------- 1 | .apply-color { 2 | color: turquoise; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css-lightningcss/composes-path-resolving.module.css: -------------------------------------------------------------------------------- 1 | .path-resolving-css { 2 | composes: apply-color from './composed.module.css'; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css-lightningcss/imported-at-import.css: -------------------------------------------------------------------------------- 1 | .imported-at-import { 2 | color: purple; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css-lightningcss/inline.module.css: -------------------------------------------------------------------------------- 1 | .apply-color-inline { 2 | color: turquoise; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css-lightningcss/inlined.css: -------------------------------------------------------------------------------- 1 | .inlined { 2 | color: green; 3 | background: url('./ok.png'); 4 | } 5 | -------------------------------------------------------------------------------- /playground/css-lightningcss/linked-at-import.css: -------------------------------------------------------------------------------- 1 | .linked-at-import { 2 | color: red; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css-lightningcss/linked.css: -------------------------------------------------------------------------------- 1 | @import './linked-at-import.css'; 2 | 3 | /* test nesting */ 4 | .wrapper { 5 | .linked { 6 | color: blue; 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /playground/css-lightningcss/minify.css: -------------------------------------------------------------------------------- 1 | .test-minify { 2 | color: rgba(255, 255, 0, 0.7); 3 | } 4 | -------------------------------------------------------------------------------- /playground/css-lightningcss/mod.module.css: -------------------------------------------------------------------------------- 1 | .apply-color { 2 | color: turquoise; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css-lightningcss/nested/nested.css: -------------------------------------------------------------------------------- 1 | .nested-css-relative-asset { 2 | background-image: url('../ok.png'); 3 | width: 50px; 4 | height: 50px; 5 | } 6 | -------------------------------------------------------------------------------- /playground/css-lightningcss/ok.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vitejs/vite/e0586de502aa82a372039ec6cac50cf69414e6fc/playground/css-lightningcss/ok.png -------------------------------------------------------------------------------- /playground/css-no-codesplit/async-js.css: -------------------------------------------------------------------------------- 1 | .async-js { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css-no-codesplit/async-js.js: -------------------------------------------------------------------------------- 1 | // a JS file that becomes an empty file but imports CSS files 2 | import './async-js.css' 3 | -------------------------------------------------------------------------------- /playground/css-no-codesplit/index.js: -------------------------------------------------------------------------------- 1 | import('./async-js') 2 | -------------------------------------------------------------------------------- /playground/css-no-codesplit/shared-linked.css: -------------------------------------------------------------------------------- 1 | .shared-linked { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css-no-codesplit/sub.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /playground/css-sourcemap/be-imported.css: -------------------------------------------------------------------------------- 1 | .be-imported { 2 | color: red; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css-sourcemap/imported-nested.sass: -------------------------------------------------------------------------------- 1 | $primary: red 2 | -------------------------------------------------------------------------------- /playground/css-sourcemap/imported-with-import.css: -------------------------------------------------------------------------------- 1 | @import '@/be-imported.css'; 2 | 3 | .imported-with-import { 4 | color: red; 5 | } 6 | -------------------------------------------------------------------------------- /playground/css-sourcemap/imported.css: -------------------------------------------------------------------------------- 1 | .imported { 2 | color: red; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css-sourcemap/imported.less: -------------------------------------------------------------------------------- 1 | .imported { 2 | &-less { 3 | color: @color; 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /playground/css-sourcemap/imported.module.sass: -------------------------------------------------------------------------------- 1 | .imported 2 | &-sass-module 3 | color: red 4 | -------------------------------------------------------------------------------- /playground/css-sourcemap/imported.sass: -------------------------------------------------------------------------------- 1 | @use "/imported-nested.sass" 2 | 3 | .imported 4 | &-sass 5 | color: imported-nested.$primary 6 | -------------------------------------------------------------------------------- /playground/css-sourcemap/imported.sss: -------------------------------------------------------------------------------- 1 | .imported-sugarss 2 | color: red 3 | -------------------------------------------------------------------------------- /playground/css-sourcemap/imported.styl: -------------------------------------------------------------------------------- 1 | .imported 2 | &-stylus 3 | color blue-red-mixed 4 | -------------------------------------------------------------------------------- /playground/css-sourcemap/index.js: -------------------------------------------------------------------------------- 1 | export default 'hello' 2 | -------------------------------------------------------------------------------- /playground/css-sourcemap/input-map.css: -------------------------------------------------------------------------------- 1 | .input-map { 2 | color: #00f; 3 | } 4 | /*# sourceMappingURL=input-map.css.map */ 5 | -------------------------------------------------------------------------------- /playground/css-sourcemap/input-map.src.css: -------------------------------------------------------------------------------- 1 | .input-map { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css-sourcemap/linked-with-import.css: -------------------------------------------------------------------------------- 1 | @import '@/be-imported.css'; 2 | 3 | .linked-with-import { 4 | color: red; 5 | } 6 | -------------------------------------------------------------------------------- /playground/css-sourcemap/linked.css: -------------------------------------------------------------------------------- 1 | .linked { 2 | color: red; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/__tests__/css.spec.ts: -------------------------------------------------------------------------------- 1 | import { tests } from './tests' 2 | 3 | tests(false) 4 | -------------------------------------------------------------------------------- /playground/css/aliased/bar.module.css: -------------------------------------------------------------------------------- 1 | .aliasedModule { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/aliased/foo.css: -------------------------------------------------------------------------------- 1 | .aliased { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/async-treeshaken.css: -------------------------------------------------------------------------------- 1 | .async-treeshaken { 2 | color: plum; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/async.css: -------------------------------------------------------------------------------- 1 | .async { 2 | color: teal; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/async/async-1.css: -------------------------------------------------------------------------------- 1 | .async-blue { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/async/async-1.js: -------------------------------------------------------------------------------- 1 | import { createButton } from './base' 2 | import './async-1.css' 3 | 4 | createButton('async-blue') 5 | -------------------------------------------------------------------------------- /playground/css/async/async-2.css: -------------------------------------------------------------------------------- 1 | .async-green { 2 | color: green; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/async/async-2.js: -------------------------------------------------------------------------------- 1 | import { createButton } from './base' 2 | import './async-2.css' 3 | 4 | createButton('async-green') 5 | -------------------------------------------------------------------------------- /playground/css/async/async-3.module.css: -------------------------------------------------------------------------------- 1 | .async-pink { 2 | color: pink; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/async/base.css: -------------------------------------------------------------------------------- 1 | .btn { 2 | color: black; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/async/index.js: -------------------------------------------------------------------------------- 1 | import('./async-1.js') 2 | import('./async-2.js') 3 | import('./async-3.js') 4 | -------------------------------------------------------------------------------- /playground/css/charset.css: -------------------------------------------------------------------------------- 1 | @charset "utf-8"; 2 | 3 | .utf8 { 4 | color: green; 5 | } 6 | -------------------------------------------------------------------------------- /playground/css/composed.module.css: -------------------------------------------------------------------------------- 1 | .apply-color { 2 | color: turquoise; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/composed.module.less: -------------------------------------------------------------------------------- 1 | .apply-color { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/composed.module.scss: -------------------------------------------------------------------------------- 1 | .apply-color { 2 | color: orangered; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/css-dep-exports/index.js: -------------------------------------------------------------------------------- 1 | throw new Error('should not be imported') 2 | -------------------------------------------------------------------------------- /playground/css/css-dep-exports/style.css: -------------------------------------------------------------------------------- 1 | .css-dep-exports { 2 | color: purple; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/css-dep-exports/style.scss: -------------------------------------------------------------------------------- 1 | .css-dep-exports-sass { 2 | color: orange; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/css-dep/index.css: -------------------------------------------------------------------------------- 1 | .css-dep { 2 | color: purple; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/css-dep/index.js: -------------------------------------------------------------------------------- 1 | throw new Error('should not be imported') 2 | -------------------------------------------------------------------------------- /playground/css/css-dep/index.scss: -------------------------------------------------------------------------------- 1 | .css-dep-sass { 2 | color: orange; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/css-dep/index.styl: -------------------------------------------------------------------------------- 1 | .css-dep-stylus 2 | color red 3 | -------------------------------------------------------------------------------- /playground/css/css-js-dep/bar.module.css: -------------------------------------------------------------------------------- 1 | .cssJsDepModule { 2 | color: green; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/css-js-dep/foo.css: -------------------------------------------------------------------------------- 1 | .css-js-dep { 2 | color: green; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/css-js-dep/index.js: -------------------------------------------------------------------------------- 1 | import './foo.css' 2 | import barModuleClasses from './bar.module.css' 3 | 4 | export { barModuleClasses } 5 | -------------------------------------------------------------------------------- /playground/css/css-proxy-dep-nested/index.css: -------------------------------------------------------------------------------- 1 | .css-proxy-dep { 2 | color: purple; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/css-proxy-dep/index.css: -------------------------------------------------------------------------------- 1 | @import '@vitejs/test-css-proxy-dep-nested'; 2 | -------------------------------------------------------------------------------- /playground/css/dep.css: -------------------------------------------------------------------------------- 1 | @import '@vitejs/test-css-dep'; 2 | @import '@vitejs/test-css-dep-exports'; 3 | @import '@vitejs/test-css-proxy-dep'; 4 | -------------------------------------------------------------------------------- /playground/css/file-absolute.scss: -------------------------------------------------------------------------------- 1 | .sass-file-absolute { 2 | color: orange; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/folder with space/ok.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vitejs/vite/e0586de502aa82a372039ec6cac50cf69414e6fc/playground/css/folder with space/ok.png -------------------------------------------------------------------------------- /playground/css/folder with space/space.css: -------------------------------------------------------------------------------- 1 | .import-with-space { 2 | color: green; 3 | background: url(spacefolder/ok.png); 4 | background-position: center; 5 | } 6 | -------------------------------------------------------------------------------- /playground/css/glob-dep.css: -------------------------------------------------------------------------------- 1 | @test; 2 | -------------------------------------------------------------------------------- /playground/css/glob-dep/bar.css: -------------------------------------------------------------------------------- 1 | .dir-dep-2 { 2 | color: grey; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/glob-dep/foo.css: -------------------------------------------------------------------------------- 1 | .dir-dep { 2 | color: grey; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/glob-dep/nested (dir)/baz.css: -------------------------------------------------------------------------------- 1 | .dir-dep-3 { 2 | color: grey; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/glob-import/bar.css: -------------------------------------------------------------------------------- 1 | .dir-import-2 { 2 | color: grey; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/glob-import/foo.css: -------------------------------------------------------------------------------- 1 | .dir-import { 2 | color: grey; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/imported-at-import.css: -------------------------------------------------------------------------------- 1 | .imported-at-import { 2 | color: purple; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/imported.scss: -------------------------------------------------------------------------------- 1 | $color: red; 2 | 3 | .at-import-scss { 4 | color: $color; 5 | } 6 | -------------------------------------------------------------------------------- /playground/css/imports-field.css: -------------------------------------------------------------------------------- 1 | .imports-field { 2 | color: red; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/imports-imports-field.css: -------------------------------------------------------------------------------- 1 | @import '#imports'; 2 | -------------------------------------------------------------------------------- /playground/css/inline.module.css: -------------------------------------------------------------------------------- 1 | .apply-color-inline { 2 | color: turquoise; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/inlined.css: -------------------------------------------------------------------------------- 1 | .inlined { 2 | color: green; 3 | background: url('./ok.png'); 4 | } 5 | -------------------------------------------------------------------------------- /playground/css/jsfile.css.js: -------------------------------------------------------------------------------- 1 | const message = 'from jsfile.css.js' 2 | export default message 3 | -------------------------------------------------------------------------------- /playground/css/layered/blue.css: -------------------------------------------------------------------------------- 1 | @media screen { 2 | .layers-blue { 3 | color: blue; 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /playground/css/layered/green.css: -------------------------------------------------------------------------------- 1 | @media screen { 2 | .layers-green { 3 | color: green; 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /playground/css/less-plugin.less: -------------------------------------------------------------------------------- 1 | @plugin "less-plugin/test.js"; 2 | 3 | .less-js-plugin { 4 | height: 1em; 5 | width: 1em; 6 | background-image: test(); 7 | } 8 | -------------------------------------------------------------------------------- /playground/css/less/ommer.less: -------------------------------------------------------------------------------- 1 | .less-at-import-url-ommer { 2 | color: darkorange; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/linked-at-import.css: -------------------------------------------------------------------------------- 1 | .linked-at-import { 2 | color: red; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/linked.css: -------------------------------------------------------------------------------- 1 | @import '=/linked-at-import.css'; 2 | 3 | /* test postcss nesting */ 4 | .wrapper { 5 | .linked { 6 | color: blue; 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /playground/css/manual-chunk.css: -------------------------------------------------------------------------------- 1 | .manual-chunk { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/minify.css: -------------------------------------------------------------------------------- 1 | .test-minify { 2 | color: rgba(255, 255, 0, 0.7); 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/mod.module.css: -------------------------------------------------------------------------------- 1 | .apply-color { 2 | color: turquoise; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/mod.module.scss: -------------------------------------------------------------------------------- 1 | .apply-color { 2 | color: orangered; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/nested/_partial.scss: -------------------------------------------------------------------------------- 1 | .sass-partial { 2 | color: orchid; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/nested/css-in-less-2.less: -------------------------------------------------------------------------------- 1 | .css-in-less-2 { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/nested/css-in-less.css: -------------------------------------------------------------------------------- 1 | .css-in-less { 2 | color: yellow; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/nested/css-in-less.less: -------------------------------------------------------------------------------- 1 | @import url('./css-in-less.css'); 2 | @import './css-in-less.css'; 3 | 4 | @import './css-in-less-2.less'; 5 | -------------------------------------------------------------------------------- /playground/css/nested/css-in-scss.css: -------------------------------------------------------------------------------- 1 | .css-in-scss { 2 | color: orange; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/nested/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vitejs/vite/e0586de502aa82a372039ec6cac50cf69414e6fc/playground/css/nested/icon.png -------------------------------------------------------------------------------- /playground/css/nested/relative.scss: -------------------------------------------------------------------------------- 1 | .sass-at-import-relative { 2 | color: olive; 3 | background: url(./icon.png) 10px no-repeat; 4 | } 5 | -------------------------------------------------------------------------------- /playground/css/nested/root-relative.scss: -------------------------------------------------------------------------------- 1 | .sass-root-relative { 2 | color: orange; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/ok.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vitejs/vite/e0586de502aa82a372039ec6cac50cf69414e6fc/playground/css/ok.png -------------------------------------------------------------------------------- /playground/css/options/absolute-import.styl: -------------------------------------------------------------------------------- 1 | .stylus-options-absolute-import 2 | /* imported via vite.config.js */ 3 | color red 4 | -------------------------------------------------------------------------------- /playground/css/options/relative-import.styl: -------------------------------------------------------------------------------- 1 | .stylus-options-relative-import 2 | /* imported via vite.config.js */ 3 | color green 4 | -------------------------------------------------------------------------------- /playground/css/pkg-dep/_index.scss: -------------------------------------------------------------------------------- 1 | .sass-dep { 2 | color: lavender; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/pkg-dep/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vitejs/vite/e0586de502aa82a372039ec6cac50cf69414e6fc/playground/css/pkg-dep/index.js -------------------------------------------------------------------------------- /playground/css/pkg-dep/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "dep", 3 | "private": true, 4 | "version": "1.0.0", 5 | "main": "index.js" 6 | } 7 | -------------------------------------------------------------------------------- /playground/css/postcss-caching/blue-app/imported.css: -------------------------------------------------------------------------------- 1 | .postcss-a { 2 | color: pink; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/postcss-caching/green-app/imported.css: -------------------------------------------------------------------------------- 1 | .postcss-b { 2 | color: pink; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/postcss-inject-url.css: -------------------------------------------------------------------------------- 1 | @inject-url; 2 | -------------------------------------------------------------------------------- /playground/css/postcss-source-input.css: -------------------------------------------------------------------------------- 1 | @source-input; 2 | -------------------------------------------------------------------------------- /playground/css/raw-imported.css: -------------------------------------------------------------------------------- 1 | .raw { 2 | /* should not be transformed by postcss */ 3 | &-imported { 4 | color: yellow; 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /playground/css/same-name/sub1/sub.css: -------------------------------------------------------------------------------- 1 | .sub1-sub { 2 | color: red; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/same-name/sub1/sub.js: -------------------------------------------------------------------------------- 1 | import './sub.css' 2 | 3 | export default 'sub1-name' 4 | -------------------------------------------------------------------------------- /playground/css/same-name/sub2/sub.css: -------------------------------------------------------------------------------- 1 | .sub2-sub { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/same-name/sub2/sub.js: -------------------------------------------------------------------------------- 1 | import './sub.css' 2 | 3 | export default 'sub2-name' 4 | -------------------------------------------------------------------------------- /playground/css/sass-modern-compiler-build/entry1.scss: -------------------------------------------------------------------------------- 1 | .entry1 { 2 | color: red; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/sass-modern-compiler-build/entry2.scss: -------------------------------------------------------------------------------- 1 | .entry2 { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/scss-dir/dir/index.scss: -------------------------------------------------------------------------------- 1 | .sass-dir-index { 2 | color: orange; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/scss-dir/main.scss: -------------------------------------------------------------------------------- 1 | @use './dir'; 2 | -------------------------------------------------------------------------------- /playground/css/scss-proxy-dep-nested/index.css: -------------------------------------------------------------------------------- 1 | .scss-proxy-dep { 2 | color: purple; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/scss-proxy-dep-nested/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@vitejs/test-scss-proxy-dep-nested", 3 | "private": true, 4 | "version": "1.0.0" 5 | } 6 | -------------------------------------------------------------------------------- /playground/css/scss-proxy-dep/index.scss: -------------------------------------------------------------------------------- 1 | @use '@vitejs/test-scss-proxy-dep-nested/index.css'; 2 | -------------------------------------------------------------------------------- /playground/css/sugarss.sss: -------------------------------------------------------------------------------- 1 | @import '=/nested/nested.sss' 2 | 3 | .sugarss 4 | color: blue 5 | -------------------------------------------------------------------------------- /playground/css/treeshake-module/a.js: -------------------------------------------------------------------------------- 1 | import style from './a.module.css' 2 | 3 | export function a() { 4 | return style 5 | } 6 | -------------------------------------------------------------------------------- /playground/css/treeshake-module/a.module.css: -------------------------------------------------------------------------------- 1 | .treeshake-module-a { 2 | color: red; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/treeshake-module/b.js: -------------------------------------------------------------------------------- 1 | import style from './b.module.css' 2 | 3 | export function b() { 4 | return style 5 | } 6 | -------------------------------------------------------------------------------- /playground/css/treeshake-module/b.module.css: -------------------------------------------------------------------------------- 1 | .treeshake-module-b { 2 | color: red; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/treeshake-module/index.js: -------------------------------------------------------------------------------- 1 | export { a } from './a.js' 2 | export { b } from './b.js' 3 | -------------------------------------------------------------------------------- /playground/css/treeshake-scoped/a-scoped.css: -------------------------------------------------------------------------------- 1 | .treeshake-scoped-a { 2 | color: red; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/treeshake-scoped/b-scoped.css: -------------------------------------------------------------------------------- 1 | .treeshake-scoped-b { 2 | color: red; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/treeshake-scoped/c-scoped.css: -------------------------------------------------------------------------------- 1 | .treeshake-scoped-c { 2 | color: red; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/treeshake-scoped/d-scoped.css: -------------------------------------------------------------------------------- 1 | .treeshake-scoped-d { 2 | color: red; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/treeshake-scoped/order/a-scoped.css: -------------------------------------------------------------------------------- 1 | .treeshake-scoped-order { 2 | color: red; 3 | background: red; 4 | } 5 | -------------------------------------------------------------------------------- /playground/css/treeshake-scoped/order/after.css: -------------------------------------------------------------------------------- 1 | .treeshake-scoped-order { 2 | color: red; 3 | background: blue; 4 | } 5 | -------------------------------------------------------------------------------- /playground/css/treeshake-scoped/order/before.css: -------------------------------------------------------------------------------- 1 | .treeshake-scoped-order { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/unsupported.css: -------------------------------------------------------------------------------- 1 | .unsupported { 2 | overflow-x: hidden; 3 | } 4 | -------------------------------------------------------------------------------- /playground/css/url-imported.css: -------------------------------------------------------------------------------- 1 | .url { 2 | /* should be transformed by postcss */ 3 | &-imported-css { 4 | color: yellow; 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /playground/css/weapp.wxss: -------------------------------------------------------------------------------- 1 | this is not css 2 | -------------------------------------------------------------------------------- /playground/define/commonjs-dep/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | defined: __STRINGIFIED_OBJ__, 3 | } 4 | -------------------------------------------------------------------------------- /playground/define/commonjs-dep/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@vitejs/test-commonjs-dep", 3 | "private": true, 4 | "version": "1.0.0", 5 | "type": "commonjs" 6 | } 7 | -------------------------------------------------------------------------------- /playground/define/data.json: -------------------------------------------------------------------------------- 1 | { 2 | "foo": "__EXP__" 3 | } 4 | -------------------------------------------------------------------------------- /playground/dynamic-import-inline/index.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /playground/dynamic-import-inline/src/foo.js: -------------------------------------------------------------------------------- 1 | export default function foo() { 2 | return 'foo' 3 | } 4 | -------------------------------------------------------------------------------- /playground/dynamic-import/(app)/main.js: -------------------------------------------------------------------------------- 1 | export function hello() { 2 | return 'dynamic-import-with-vars-contains-parenthesis' 3 | } 4 | -------------------------------------------------------------------------------- /playground/dynamic-import/alias/hello.js: -------------------------------------------------------------------------------- 1 | export function hello() { 2 | return 'hello' 3 | } 4 | console.log('hello.js') 5 | -------------------------------------------------------------------------------- /playground/dynamic-import/alias/hi.js: -------------------------------------------------------------------------------- 1 | export function hi() { 2 | return 'hi' 3 | } 4 | console.log('hi.js') 5 | -------------------------------------------------------------------------------- /playground/dynamic-import/alias/url.js: -------------------------------------------------------------------------------- 1 | export const url = 'load url' 2 | -------------------------------------------------------------------------------- /playground/dynamic-import/alias/worker.js: -------------------------------------------------------------------------------- 1 | self.onmessage = (event) => { 2 | self.postMessage({ 3 | msg: 'load worker', 4 | }) 5 | } 6 | -------------------------------------------------------------------------------- /playground/dynamic-import/css/index.css: -------------------------------------------------------------------------------- 1 | .css { 2 | box-sizing: border-box; 3 | } 4 | .view { 5 | color: red; 6 | } 7 | -------------------------------------------------------------------------------- /playground/dynamic-import/files/mxd.js: -------------------------------------------------------------------------------- 1 | export default function () {} 2 | -------------------------------------------------------------------------------- /playground/dynamic-import/files/mxd.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /playground/dynamic-import/nested/deps.js: -------------------------------------------------------------------------------- 1 | /* don't include dynamic import inside this file */ 2 | 3 | import '@vitejs/test-pkg' 4 | -------------------------------------------------------------------------------- /playground/dynamic-import/nested/hello.js: -------------------------------------------------------------------------------- 1 | export function hello() { 2 | return 'hello' 3 | } 4 | -------------------------------------------------------------------------------- /playground/dynamic-import/nested/nested/self.js: -------------------------------------------------------------------------------- 1 | export const self = 'dynamic-import-nested-self-content' 2 | -------------------------------------------------------------------------------- /playground/dynamic-import/nested/self.js: -------------------------------------------------------------------------------- 1 | export const self = 'dynamic-import-self-content' 2 | -------------------------------------------------------------------------------- /playground/dynamic-import/nested/shared.js: -------------------------------------------------------------------------------- 1 | export const n = 1 2 | -------------------------------------------------------------------------------- /playground/dynamic-import/nested/static.js: -------------------------------------------------------------------------------- 1 | export const self = 'dynamic-import-static' 2 | -------------------------------------------------------------------------------- /playground/dynamic-import/pkg/index.js: -------------------------------------------------------------------------------- 1 | import('./pkg.css') 2 | -------------------------------------------------------------------------------- /playground/dynamic-import/pkg/pkg.css: -------------------------------------------------------------------------------- 1 | .pkg-css { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /playground/dynamic-import/views/bar.js: -------------------------------------------------------------------------------- 1 | export const msg = 'Bar view' 2 | -------------------------------------------------------------------------------- /playground/dynamic-import/views/baz.js: -------------------------------------------------------------------------------- 1 | import { n } from '../nested/shared' 2 | console.log('baz' + n) 3 | 4 | export const msg = 'Baz view' 5 | -------------------------------------------------------------------------------- /playground/dynamic-import/views/foo.js: -------------------------------------------------------------------------------- 1 | import { n } from '../nested/shared' 2 | console.log('foo' + n) 3 | 4 | export const msg = 'Foo view' 5 | -------------------------------------------------------------------------------- /playground/dynamic-import/views/qux.js: -------------------------------------------------------------------------------- 1 | export const msg = 'Qux view' 2 | -------------------------------------------------------------------------------- /playground/env-nested/.env: -------------------------------------------------------------------------------- 1 | VITE_PARENT_ENV=dont_load_me -------------------------------------------------------------------------------- /playground/env-nested/envs/.env.development: -------------------------------------------------------------------------------- 1 | VITE_EFFECTIVE_MODE_FILE_NAME=.env.development 2 | -------------------------------------------------------------------------------- /playground/env-nested/envs/.env.production: -------------------------------------------------------------------------------- 1 | VITE_EFFECTIVE_MODE_FILE_NAME=.env.production 2 | -------------------------------------------------------------------------------- /playground/env-nested/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | 3 | export default defineConfig({ 4 | envDir: './envs', 5 | }) 6 | -------------------------------------------------------------------------------- /playground/env/.env.development: -------------------------------------------------------------------------------- 1 | VITE_EFFECTIVE_MODE_FILE_NAME=.env.development 2 | -------------------------------------------------------------------------------- /playground/env/.env.production: -------------------------------------------------------------------------------- 1 | VITE_EFFECTIVE_MODE_FILE_NAME=.env.production 2 | -------------------------------------------------------------------------------- /playground/env/index.js: -------------------------------------------------------------------------------- 1 | text('.url', import.meta.url) 2 | 3 | function text(el, text) { 4 | document.querySelector(el).textContent = text 5 | } 6 | -------------------------------------------------------------------------------- /playground/external/src/main.js: -------------------------------------------------------------------------------- 1 | import '@vitejs/test-dep-that-imports' 2 | import '@vitejs/test-dep-that-requires' 3 | -------------------------------------------------------------------------------- /playground/fs-serve/nested/foo.js: -------------------------------------------------------------------------------- 1 | export const msg = 'foo' 2 | -------------------------------------------------------------------------------- /playground/fs-serve/root/src/.env: -------------------------------------------------------------------------------- 1 | KEY=unsafe 2 | -------------------------------------------------------------------------------- /playground/fs-serve/root/src/code.js: -------------------------------------------------------------------------------- 1 | // code.js 2 | -------------------------------------------------------------------------------- /playground/fs-serve/root/src/deny/.deny: -------------------------------------------------------------------------------- 1 | .deny 2 | -------------------------------------------------------------------------------- /playground/fs-serve/root/src/deny/deny.txt: -------------------------------------------------------------------------------- 1 | deny 2 | -------------------------------------------------------------------------------- /playground/fs-serve/root/src/dummy.crt: -------------------------------------------------------------------------------- 1 | secret 2 | -------------------------------------------------------------------------------- /playground/fs-serve/root/src/safe.txt: -------------------------------------------------------------------------------- 1 | KEY=safe 2 | -------------------------------------------------------------------------------- /playground/fs-serve/root/src/special characters åäö/safe.json: -------------------------------------------------------------------------------- 1 | { 2 | "msg": "safe" 3 | } 4 | -------------------------------------------------------------------------------- /playground/fs-serve/root/src/special characters åäö/safe.txt: -------------------------------------------------------------------------------- 1 | KEY=safe 2 | -------------------------------------------------------------------------------- /playground/fs-serve/root/src/subdir/safe.txt: -------------------------------------------------------------------------------- 1 | KEY=safe 2 | -------------------------------------------------------------------------------- /playground/fs-serve/root/unsafe.svg: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /playground/fs-serve/root/unsafe.txt: -------------------------------------------------------------------------------- 1 | KEY=unsafe 2 | -------------------------------------------------------------------------------- /playground/fs-serve/safe.json: -------------------------------------------------------------------------------- 1 | { 2 | "msg": "safe" 3 | } 4 | -------------------------------------------------------------------------------- /playground/fs-serve/unsafe.json: -------------------------------------------------------------------------------- 1 | { 2 | "msg": "unsafe" 3 | } 4 | -------------------------------------------------------------------------------- /playground/glob-import/dir/alias.js: -------------------------------------------------------------------------------- 1 | export default 'hi' 2 | -------------------------------------------------------------------------------- /playground/glob-import/dir/baz.json: -------------------------------------------------------------------------------- 1 | { 2 | "msg": "baz" 3 | } 4 | -------------------------------------------------------------------------------- /playground/glob-import/dir/foo.css: -------------------------------------------------------------------------------- 1 | .foo { 2 | color: blue; 3 | } 4 | -------------------------------------------------------------------------------- /playground/glob-import/dir/foo.js: -------------------------------------------------------------------------------- 1 | export const msg = 'foo' 2 | -------------------------------------------------------------------------------- /playground/glob-import/dir/nested/bar.js: -------------------------------------------------------------------------------- 1 | const modules = import.meta.glob('../*.json', { eager: true }) 2 | 3 | export const msg = 'bar' 4 | export { modules } 5 | -------------------------------------------------------------------------------- /playground/glob-import/dir/node_modules/hoge.js: -------------------------------------------------------------------------------- 1 | export const msg = 'hoge' 2 | -------------------------------------------------------------------------------- /playground/glob-import/dir/quote'.js: -------------------------------------------------------------------------------- 1 | export const msg = 'single-quote' 2 | -------------------------------------------------------------------------------- /playground/glob-import/escape/(parenthesis)/mod/index.js: -------------------------------------------------------------------------------- 1 | export const msg = 'foo' 2 | -------------------------------------------------------------------------------- /playground/glob-import/escape/[brackets]/mod/index.js: -------------------------------------------------------------------------------- 1 | export const msg = 'foo' 2 | -------------------------------------------------------------------------------- /playground/glob-import/escape/{curlies}/mod/index.js: -------------------------------------------------------------------------------- 1 | export const msg = 'foo' 2 | -------------------------------------------------------------------------------- /playground/glob-import/import-meta-glob-pkg/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@vitejs/test-import-meta-glob-pkg", 3 | "type": "module", 4 | "main": "./index.js" 5 | } 6 | -------------------------------------------------------------------------------- /playground/glob-import/imports-path/bar.js: -------------------------------------------------------------------------------- 1 | export default 'bar' 2 | -------------------------------------------------------------------------------- /playground/glob-import/imports-path/foo.js: -------------------------------------------------------------------------------- 1 | export default 'foo' 2 | -------------------------------------------------------------------------------- /playground/glob-import/no-tree-shake.css: -------------------------------------------------------------------------------- 1 | .no-tree-shake-eager-css { 2 | color: orange; 3 | } 4 | -------------------------------------------------------------------------------- /playground/glob-import/pkg-pages/foo.js: -------------------------------------------------------------------------------- 1 | // empty 2 | -------------------------------------------------------------------------------- /playground/glob-import/tree-shake.css: -------------------------------------------------------------------------------- 1 | .tree-shake-eager-css { 2 | color: orange; 3 | } 4 | -------------------------------------------------------------------------------- /playground/hmr-root/foo.js: -------------------------------------------------------------------------------- 1 | export const foo = 'foo' 2 | -------------------------------------------------------------------------------- /playground/hmr-ssr/accept-exports/dynamic-imports/index.ts: -------------------------------------------------------------------------------- 1 | import './dynamic-imports.ts' 2 | -------------------------------------------------------------------------------- /playground/hmr-ssr/accept-exports/export-from/depA.ts: -------------------------------------------------------------------------------- 1 | export const a = 'Ax' 2 | -------------------------------------------------------------------------------- /playground/hmr-ssr/accept-exports/export-from/hub.ts: -------------------------------------------------------------------------------- 1 | export * from './depA' 2 | -------------------------------------------------------------------------------- /playground/hmr-ssr/accept-exports/export-from/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /playground/hmr-ssr/accept-exports/main-accepted/dep.ts: -------------------------------------------------------------------------------- 1 | export default 'dep0' 2 | -------------------------------------------------------------------------------- /playground/hmr-ssr/accept-exports/main-accepted/index.ts: -------------------------------------------------------------------------------- 1 | import './main-accepted' 2 | -------------------------------------------------------------------------------- /playground/hmr-ssr/accept-exports/main-non-accepted/dep.ts: -------------------------------------------------------------------------------- 1 | export default 'dep0' 2 | -------------------------------------------------------------------------------- /playground/hmr-ssr/accept-exports/main-non-accepted/index.ts: -------------------------------------------------------------------------------- 1 | import './main-non-accepted.ts' 2 | -------------------------------------------------------------------------------- /playground/hmr-ssr/accept-exports/main-non-accepted/main-non-accepted.ts: -------------------------------------------------------------------------------- 1 | import { a } from './named' 2 | import def from './default' 3 | 4 | log(`>>>>>> ${a} ${def}`) 5 | -------------------------------------------------------------------------------- /playground/hmr-ssr/accept-exports/reexports.bak/index.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /playground/hmr-ssr/accept-exports/reexports.bak/reexports.ts: -------------------------------------------------------------------------------- 1 | import { a } from './accept-named' 2 | 3 | log('accept-named:' + a) 4 | 5 | log('>>> ready') 6 | -------------------------------------------------------------------------------- /playground/hmr-ssr/accept-exports/reexports.bak/source.ts: -------------------------------------------------------------------------------- 1 | export const a = 'a0' 2 | export const b = 'b0' 3 | -------------------------------------------------------------------------------- /playground/hmr-ssr/accept-exports/side-effects/index.ts: -------------------------------------------------------------------------------- 1 | import './side-effects.ts' 2 | -------------------------------------------------------------------------------- /playground/hmr-ssr/accept-exports/star-imports/index.ts: -------------------------------------------------------------------------------- 1 | import './star-imports.ts' 2 | -------------------------------------------------------------------------------- /playground/hmr-ssr/accept-exports/unused-exports/index.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /playground/hmr-ssr/accept-exports/unused-exports/index.ts: -------------------------------------------------------------------------------- 1 | import './unused' 2 | import { foo } from './used' 3 | 4 | log('used:' + foo) 5 | -------------------------------------------------------------------------------- /playground/hmr-ssr/circular/mod-a.js: -------------------------------------------------------------------------------- 1 | export const value = 'mod-a' 2 | 3 | import { value as _value } from './mod-b' 4 | 5 | export const msg = `mod-a -> ${_value}` 6 | -------------------------------------------------------------------------------- /playground/hmr-ssr/circular/mod-b.js: -------------------------------------------------------------------------------- 1 | import { value as _value } from './mod-c' 2 | 3 | export const value = `mod-b -> ${_value}` 4 | -------------------------------------------------------------------------------- /playground/hmr-ssr/counter/dep.ts: -------------------------------------------------------------------------------- 1 | // This file is never loaded 2 | if (import.meta.hot) { 3 | import.meta.hot.accept(() => {}) 4 | } 5 | -------------------------------------------------------------------------------- /playground/hmr-ssr/customFile.js: -------------------------------------------------------------------------------- 1 | export const msg = 'custom' 2 | -------------------------------------------------------------------------------- /playground/hmr-ssr/hmrNestedDep.js: -------------------------------------------------------------------------------- 1 | export const foo = 1 2 | -------------------------------------------------------------------------------- /playground/hmr-ssr/importedVirtual.js: -------------------------------------------------------------------------------- 1 | export const virtual = '[success]' 2 | -------------------------------------------------------------------------------- /playground/hmr-ssr/importing-updated/index.js: -------------------------------------------------------------------------------- 1 | import './a' 2 | import './b' 3 | -------------------------------------------------------------------------------- /playground/hmr-ssr/intermediate-file-delete/display.js: -------------------------------------------------------------------------------- 1 | export const displayCount = (count) => `count is ${count}` 2 | -------------------------------------------------------------------------------- /playground/hmr-ssr/intermediate-file-delete/re-export.js: -------------------------------------------------------------------------------- 1 | export * from './display.js' 2 | -------------------------------------------------------------------------------- /playground/hmr-ssr/invalidation-circular-deps/index.js: -------------------------------------------------------------------------------- 1 | import './circular-invalidate/parent' 2 | import './invalidate-handled-in-circle/parent' 3 | -------------------------------------------------------------------------------- /playground/hmr-ssr/missing-import/a.js: -------------------------------------------------------------------------------- 1 | import 'missing-modules' 2 | 3 | log('missing test') 4 | -------------------------------------------------------------------------------- /playground/hmr-ssr/missing-import/index.js: -------------------------------------------------------------------------------- 1 | import './main.js' 2 | -------------------------------------------------------------------------------- /playground/hmr-ssr/missing-import/main.js: -------------------------------------------------------------------------------- 1 | import './a.js' 2 | -------------------------------------------------------------------------------- /playground/hmr-ssr/non-tested/dep.js: -------------------------------------------------------------------------------- 1 | export const test = 'true' 2 | 3 | import.meta.hot.accept() 4 | -------------------------------------------------------------------------------- /playground/hmr-ssr/optional-chaining/child.js: -------------------------------------------------------------------------------- 1 | export const foo = 1 2 | -------------------------------------------------------------------------------- /playground/hmr-ssr/queries/multi-query.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vitejs/vite/e0586de502aa82a372039ec6cac50cf69414e6fc/playground/hmr-ssr/queries/multi-query.js -------------------------------------------------------------------------------- /playground/hmr-ssr/self-accept-within-circular/a.js: -------------------------------------------------------------------------------- 1 | import { b } from './b' 2 | 3 | export const a = { 4 | b, 5 | } 6 | -------------------------------------------------------------------------------- /playground/hmr-ssr/self-accept-within-circular/b.js: -------------------------------------------------------------------------------- 1 | import { c } from './c' 2 | 3 | const b = { 4 | c, 5 | } 6 | 7 | export { b } 8 | -------------------------------------------------------------------------------- /playground/hmr-ssr/self-accept-within-circular/index.js: -------------------------------------------------------------------------------- 1 | import { a } from './a' 2 | 3 | log(a) 4 | -------------------------------------------------------------------------------- /playground/hmr-ssr/soft-invalidation/child.js: -------------------------------------------------------------------------------- 1 | export const foo = 'bar' 2 | -------------------------------------------------------------------------------- /playground/hmr/accept-exports/dynamic-imports/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /playground/hmr/accept-exports/export-from/depA.ts: -------------------------------------------------------------------------------- 1 | export const a = 'Ax' 2 | -------------------------------------------------------------------------------- /playground/hmr/accept-exports/export-from/hub.ts: -------------------------------------------------------------------------------- 1 | export * from './depA' 2 | -------------------------------------------------------------------------------- /playground/hmr/accept-exports/export-from/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /playground/hmr/accept-exports/main-accepted/dep.ts: -------------------------------------------------------------------------------- 1 | export default 'dep0' 2 | -------------------------------------------------------------------------------- /playground/hmr/accept-exports/main-accepted/index.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /playground/hmr/accept-exports/main-non-accepted/dep.ts: -------------------------------------------------------------------------------- 1 | export default 'dep0' 2 | -------------------------------------------------------------------------------- /playground/hmr/accept-exports/main-non-accepted/index.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /playground/hmr/accept-exports/main-non-accepted/main-non-accepted.ts: -------------------------------------------------------------------------------- 1 | import { a } from './named' 2 | import def from './default' 3 | 4 | console.log(`>>>>>> ${a} ${def}`) 5 | -------------------------------------------------------------------------------- /playground/hmr/accept-exports/reexports.bak/index.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /playground/hmr/accept-exports/reexports.bak/reexports.ts: -------------------------------------------------------------------------------- 1 | import { a } from './accept-named' 2 | 3 | console.log('accept-named:' + a) 4 | 5 | console.log('>>> ready') 6 | -------------------------------------------------------------------------------- /playground/hmr/accept-exports/reexports.bak/source.ts: -------------------------------------------------------------------------------- 1 | export const a = 'a0' 2 | export const b = 'b0' 3 | -------------------------------------------------------------------------------- /playground/hmr/accept-exports/side-effects/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /playground/hmr/accept-exports/star-imports/index.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /playground/hmr/accept-exports/unused-exports/index.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /playground/hmr/accept-exports/unused-exports/index.ts: -------------------------------------------------------------------------------- 1 | import './unused' 2 | import { foo } from './used' 3 | 4 | console.log('used:' + foo) 5 | -------------------------------------------------------------------------------- /playground/hmr/circular/mod-a.js: -------------------------------------------------------------------------------- 1 | export const value = 'mod-a' 2 | 3 | import { value as _value } from './mod-b' 4 | 5 | export const msg = `mod-a -> ${_value}` 6 | -------------------------------------------------------------------------------- /playground/hmr/circular/mod-b.js: -------------------------------------------------------------------------------- 1 | import { value as _value } from './mod-c' 2 | 3 | export const value = `mod-b -> ${_value}` 4 | -------------------------------------------------------------------------------- /playground/hmr/counter/dep.ts: -------------------------------------------------------------------------------- 1 | // This file is never loaded 2 | if (import.meta.hot) { 3 | import.meta.hot.accept(() => {}) 4 | } 5 | -------------------------------------------------------------------------------- /playground/hmr/counter/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /playground/hmr/css-deps/main.css: -------------------------------------------------------------------------------- 1 | .css-deps { 2 | color: replaced; 3 | } 4 | -------------------------------------------------------------------------------- /playground/hmr/customFile.js: -------------------------------------------------------------------------------- 1 | export const msg = 'custom' 2 | -------------------------------------------------------------------------------- /playground/hmr/global.css: -------------------------------------------------------------------------------- 1 | body { 2 | background: white; 3 | } 4 | -------------------------------------------------------------------------------- /playground/hmr/hmrNestedDep.js: -------------------------------------------------------------------------------- 1 | export const foo = 1 2 | -------------------------------------------------------------------------------- /playground/hmr/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vitejs/vite/e0586de502aa82a372039ec6cac50cf69414e6fc/playground/hmr/icon.png -------------------------------------------------------------------------------- /playground/hmr/importedVirtual.js: -------------------------------------------------------------------------------- 1 | export const virtual = '[success]' 2 | -------------------------------------------------------------------------------- /playground/hmr/importing-updated/index.js: -------------------------------------------------------------------------------- 1 | import './a' 2 | import './b' 3 | -------------------------------------------------------------------------------- /playground/hmr/intermediate-file-delete/display.js: -------------------------------------------------------------------------------- 1 | export const displayCount = (count) => `count is ${count}` 2 | -------------------------------------------------------------------------------- /playground/hmr/intermediate-file-delete/re-export.js: -------------------------------------------------------------------------------- 1 | export * from './display.js' 2 | -------------------------------------------------------------------------------- /playground/hmr/invalidation-circular-deps/index.js: -------------------------------------------------------------------------------- 1 | import './circular-invalidate/parent' 2 | import './invalidate-handled-in-circle/parent' 3 | -------------------------------------------------------------------------------- /playground/hmr/missing-file/index.html: -------------------------------------------------------------------------------- 1 |inline a
2 | -------------------------------------------------------------------------------- /playground/html/inline/unique.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /playground/html/inline/unique.js: -------------------------------------------------------------------------------- 1 | import { log } from './common' 2 | import './dep2' 3 | 4 | log('unique') 5 | -------------------------------------------------------------------------------- /playground/html/invalid.html: -------------------------------------------------------------------------------- 1 |