README
@flatjs/sculpt
The rollup based dev tools
sculpt
of@flatjs
The usages
$ npm i @flatjs/sculpt
Features
- Integrated Mock system using
@flatjs/mock
- Allow us attach customized
middleware
to handle page render. - Allow us specified extra
babel
presets or plugins to handle your webapp. - Split
mock
andsculpt
configuration intoflatjs.mock.js
,flatjs.sculpt.js
.
Notes
- miniprogram IDE optimization point, how can let the compiler support, don't override no changed files while
sculpt serve
. Avoid frequent reload cached files of theWXIDE
- If we have missed
npm modules
or dynamic installednpm modules
we can simply savepackage.json
, it will detected missedmodules
and try to install correctly! - If we need to force update
package.json
, please deletepackage.json
fromminiprogram