Skip to content

Oneseco-Media/sites

Repository files navigation

Minimal Webpack Starter Template

A minimal webpack starter template with hot reloading and development/production configurations.

Features

  • Webpack 5 with development and production configs
  • Hot Module Replacement (HMR)
  • Development server with live reload
  • Production build optimization
  • Simple JavaScript app structure

Getting Started

  1. Click "Use Template" to create your own project
  2. Install dependencies:
npm install
  1. Start development server:
npm start
  1. Build for production:
npm run build

Project Structure

├── css/                  # CSS styles
├── js/                   # JavaScript source files
├── webpack.common.js     # Common webpack configuration
├── webpack.config.dev.js # Development configuration
└── webpack.config.prod.js# Production configuration

Next Steps

  1. Add more features to js/app.js
  2. Style your app in css/style.css
  3. Configure webpack loaders for additional file types
  4. Add testing with Jest
  5. Implement code splitting
  6. Add SASS/SCSS support

License

MIT

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published