0.2.0 • Published 1 year ago

@eckode/webpack v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

build workflow

Eckode / Webpack

⚠️ This package is still a working in progress and is not yet suitable for usage.

Not, just another boilerplate.

An unopinionated; module bundling and preprocessing boilerplate to rapidly streamline frontend development.


About:

This code base can be used in 3 ways:

  • Fork it
  • Clone it
  • Depend on it

Features:

  • Webpack (v5):
    • Webpack-Dev-Server with HMR
  • CSS:
    • SCSS/SASS
    • PostCSS
  • JavaScript:
    • TypeScript
    • Babel
    • Jest
  • HTML

Sample code:

Use it:

By far the easiest way to use this code is via NPM.

yarn add -D @eckode/webpack then add the following script commands to your package.json.

"scripts": {
   "dev": "eckode", // Development
   "build": "eckode" // Production
},

Alternatively, clone and/or fork it, then run:

YarnNPM
Install
yarnnpm i
Develeping
yarn startnpm run start
Testing
yarn testnpm run test
Build
yarn buildnpm run build
Test build
yarn start-prodnpm run start-prod
Lint
yarn lintnpm run lint

Roadmap:

  • CLI functionality to allow usage of this code base as an npm package.
  • Replace Babel with SWC