@mrk-beta/core
v1.0.5-beta
Published
<!-- **A utility for generate webpack configs with common settings**
Downloads
8
Maintainers
Readme
My Kit
Feature
- bundle your React App
- serve your React App (SSR)
- support es6 and TypeScript
- support css modules, post-css loader, url loader, file loader, svg loader as
Component
and many more - generate bundle analyzer called
report.html
in yourbuild
folder
Installation
# with npm
npm i my-kit -S
# with yarn
yarn add my-kit
Build scripts
Add the following scripts to your package.json
.
package.json
{
"scripts": {
"start": "my-kit start",
"build": "my-kit build"
}
}
$ my-kit start
# start dev mode, by default the port will be 8500
# you can visit http://localhost:8500 to start working on your project
$ my-kit build
# bundle your project
TODO:
- [x] Scripts
- [x] Multiple Compiler
- [x] Serve App -- [ ] i18n middleware
- [ ] TypeScript distribution config
- [ ] bundle analyzer service
- [ ] eslint
- [ ] unit test
License
MIT.