Giter VIP home page Giter VIP logo

andreivictor / webpack-starter Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 409 KB

A starter frontend boilerplate using Webpack 5, SASS, PostCSS, Babel, ESLint, Stylelint, Prettier and more.

License: MIT License

Shell 1.61% HTML 24.07% JavaScript 59.05% SCSS 15.26%
babel babel7 eslint husky javascript lintstaged postcss sass starter-kit stylelint webpack webpack5 webpack5-boilerplate prettier webpack-boilerplate html

webpack-starter's Introduction

Webpack Starter

Webpack

A starter frontend boilerplate using Webpack 5, SASS, PostCSS, Babel, ESLint, Stylelint, Prettier and more.

Features

Webpack

Babel

CSS / SASS / PostCSS

Code style & linters

Optimization

Additional tools

Usage

Development server

npm start

Runs the app in the development mode with hot reloading enabled.
Open http://localhost:8080 or server port specified in your .env file to view it in your browser.

Production build

npm run build

Builds the app for production to the dist folder.
The build is minified and the filenames include hashes.

Code style linters

npm run lint

Runs both SASS and Javascript code linters.

SASS

npm run css-lint

Javascript

npm run js-lint

Code formatting

npm run prettier:format

Runs code formatting with Prettier.

Bundle analyzer

npm run analyze

Builds the app for production and creates an interactive treemap visualization of the contents of all your bundles.
It will start an HTTP server on the default configuration URL localhost:8888 to show bundle report.

Requirements

  • node: >=18
  • npm: >=8

webpack-starter's People

Contributors

andreivictor avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.