
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
vitejs-plugin-builder-ilc
Advanced tools
For ViteJS, plugin builder for MFEs compatibility with ILC namecheap
Why another plugin...
For ViteJS, an util plugin builder for MFEs compatibility with ILC namecheap.
This plugin target only frontend build.
It aim to complete the compilation of SystemJS files.
This plugin won't support server files bundle.
Tested compatibility react-ts only
Since this bundler is agnostic of the framework frontend used, in theory this plugin should support all template that ViteJS promote.
For this plugin to work, you must use another plugin that will compile your bundle to SystemJS.
You can use the official ViteJS @vitejs/plugin-legacy.
The plugin options are completely customisable as your wish. The default values are :
lifecycleEvent: 'build:client', // Command in package.json to build frontend bundle
inputEntryFile: 'client-ilc',
generateManifest: true,
removePolyfillGeneration: true,
removeViteFolderGeneration: true,
manifestNameFile: 'ssr-manifest',
outputRootNameDir: './build/client',
outputBundleNameDir: 'assets',
outputNameFile: 'main',
beginTextBundleFile: '!function(b) { const a = document.currentScript.src;',
endTextBundleFile: '}(window.ILC && window.ILC.define || window.define)',
To modify options simply pass them in parameter:builderCompatibilityIlc({"generateManifest":false,"outputNameFile":"bundle"})
An example of using the plugin:
// vite.config.js
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import legacy from '@vitejs/plugin-legacy';
import { builderCompatibilityIlc } from 'vitejs-plugin-builder-ilc';
export default defineConfig({
plugins: [
react(),
legacy({
targets: ['defaults', 'not IE 11'],
polyfills: false,
renderModernChunks: false,
}),
builderCompatibilityIlc(),
],
appType: 'custom',
build: {
rollupOptions: {
preserveEntrySignatures: 'allow-extension', // IMPORTANT
external: ['react', 'react-dom'],
output: {
globals: {
react: 'React',
'react-dom': 'ReactDOM',
},
},
input: 'src/client-ilc.tsx', // IMPORTANT
},
},
});
FAQs
For ViteJS, plugin builder for MFEs compatibility with ILC namecheap
We found that vitejs-plugin-builder-ilc demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.