mcs-in-viewport
v0.0.0
Published
check if items are in viewport and apply callback events for entering from and leaving to four directions.
Downloads
10
Maintainers
Readme
Webpack Frontend Starterkit
A lightweight foundation for your next webpack based frontend project.
Installation
npm install
Start Dev Server
npm run dev
Build Prod Version
npm run build
Features:
- ES6 Support via babel-loader
- SASS Support via sass-loader
- Linting via eslint-loader
- Hot Module Replacement
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.