@flatjs/sculpt

the miniprogram based tools `sculpt` of @flatjs

Usage no npm install needed!

<script type="module">
  import flatjsSculpt from 'https://cdn.skypack.dev/@flatjs/sculpt';
</script>

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 and sculpt configuration into flatjs.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 the WXIDE
  • If we have missed npm modules or dynamic installed npm modules we can simply save package.json, it will detected missed modules and try to install correctly!
  • If we need to force update package.json, please delete package.json from miniprogram