To run the code in your development environment:
- Clone this repo
- Run
npm install
- Run
bower install
Now with all dependencies installed
- Start the development server for seed project with
npm run dev
- Point your browser to http://localhost:8000
webpack is a module bundler. This means webpack takes modules with dependencies and emits static assets representing those modules.
smartadmin is shipping with two webpack.config.js files:
- one for development (npm run dev)
- one for production ready build (npm run build)
common stuff is separated in webpack/base.config.js
- babel transpiling (you can use es6 syntax for development, and babel transpiles it to es5 javascript which all browsers are familiar with)
- in dev mode:
- hot module replace
- fast project rebuild
- for production:
- obfuscation,
- minification