simplest-starter-ever
v1.0.2
Published
A light webpack starter for frontend projects.
Downloads
28
Readme
Simplest Starter Ever
A lightweight webpack based frontend project. My workflow consists of usually creating an HTML/CSS version first. Then I can port it to WordPress, React, or just leave it as HTML/CSS. I wanted a simple starter with just webpack, babel, and sass.
Installation
npm i -g simplest-starter-everUsage
simplest-starter-ever newProjectName*where newProjectName is the name of your project.
Start Dev Server
npm run devBuild Prod Version
npm run buildFeatures:
- ES6 Support via babel-loader
- SASS Support via sass-loader
When you run npm run build we use the extract-text-webpack-plugin to move the css to a separate file and included in the head of your index.html, so that the styles are applied before any javascript gets loaded. We disabled this function for the dev version, because the loader doesn't support hot module replacement.
