Modern build tools, bundlers, and development workflows for ES Modules.
Lightning-fast development server leveraging native ES Modules with instant HMR.
npm create vite@latest my-app
cd my-app && npm install && npm run dev
Key Features:
Powerful module bundler with extensive plugin ecosystem.
// webpack.config.js
export default {
entry: './src/index.js',
output: { filename: 'bundle.js' },
module: {
rules: [
{ test: /\.js$/, use: 'babel-loader' }
]
}
};
Optimized for library bundling with excellent tree-shaking.
// rollup.config.js
export default {
input: 'src/index.js',
output: {
file: 'dist/bundle.js',
format: 'esm'
}
};
Full support for ES Modules with type checking.
// tsconfig.json
{
"compilerOptions": {
"module": "ESNext",
"target": "ESNext",
"moduleResolution": "bundler"
}
}
Lint ES Modules with proper import/export validation.
{
"parserOptions": { "sourceType": "module" },
"plugins": ["import"],
"rules": {
"import/no-unresolved": "error"
}
}
Load ES Modules directly from CDNs without build steps.
esm.sh
import React from 'https://esm.sh/react'
Skypack
import lodash from 'https://cdn.skypack.dev/lodash'