vite.config-no-polyfills-no-systemjs.js — vite Source File
Architecture documentation for vite.config-no-polyfills-no-systemjs.js, a javascript file in the vite codebase. 3 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR d3fba177_d8be_164b_cd9d_fab370ecea27["vite.config-no-polyfills-no-systemjs.js"] 51e96894_3556_ed5c_1ede_97d449867adf["node:path"] d3fba177_d8be_164b_cd9d_fab370ecea27 --> 51e96894_3556_ed5c_1ede_97d449867adf cf687cc4_e681_5bde_69ac_ab4303d465f7["plugin-legacy"] d3fba177_d8be_164b_cd9d_fab370ecea27 --> cf687cc4_e681_5bde_69ac_ab4303d465f7 54c37fea_4fe7_2693_71cb_1276b77f55f9["vite"] d3fba177_d8be_164b_cd9d_fab370ecea27 --> 54c37fea_4fe7_2693_71cb_1276b77f55f9 style d3fba177_d8be_164b_cd9d_fab370ecea27 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import path from 'node:path'
import legacy from '@vitejs/plugin-legacy'
import { defineConfig } from 'vite'
export default defineConfig(({ isPreview }) => ({
base: !isPreview ? './' : '/no-polyfills-no-systemjs/',
plugins: [
legacy({
renderModernChunks: false,
polyfills: false,
externalSystemJS: true,
}),
{
name: 'remove crossorigin attribute',
transformIndexHtml: (html) => html.replaceAll('crossorigin', ''),
enforce: 'post',
},
],
build: {
outDir: 'dist/no-polyfills-no-systemjs',
rollupOptions: {
input: {
index: path.resolve(
import.meta.dirname,
'no-polyfills-no-systemjs.html',
),
},
},
},
}))
Dependencies
- node:path
- plugin-legacy
- vite
Source
Frequently Asked Questions
What does vite.config-no-polyfills-no-systemjs.js do?
vite.config-no-polyfills-no-systemjs.js is a source file in the vite codebase, written in javascript.
What does vite.config-no-polyfills-no-systemjs.js depend on?
vite.config-no-polyfills-no-systemjs.js imports 3 module(s): node:path, plugin-legacy, vite.
Where is vite.config-no-polyfills-no-systemjs.js in the architecture?
vite.config-no-polyfills-no-systemjs.js is located at playground/legacy/vite.config-no-polyfills-no-systemjs.js (directory: playground/legacy).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free