hydra-boilerplate
v2.0.3
Published
Hydra - Quickstart Boilerplate Project with preconfigured Webpack 5, Babel, Typescript and CSS/PostCSS/SASS/LESS/SCSS
Downloads
5
Maintainers
Readme
Link to your webpacks' official github & documentation
Link to your babels' official github & documentation
$ git clone https://github.com/Eluvade/hydra-boilerplate.git
$ cd hydra-boilerplate
$ npm ci
npm run build
: Compiles /src folder and creates /dist folder in the projects' root
npm run start
: Launches webpack-dev-server
with Hot Module Replacement - http://localhost:8080 by default
Note: /src is a mockup folder. You're free to delete and re-write all data inside, but keep the folder structure intact if you don't want to re-configure webpack
In order for Webpack to bundle your image/gif/video/music assets, you need to import/require them in your javascript. URL's in CSS will be resolved automatically.
This project is licensed under the MIT License.