glass-easel-miniprogram-webpack-plugin

0.5.3 • Public • Published

glass-easel-miniprogram-webpack-plugin

The webpack plugin for building mini-program code running in glass-easel.

Refer to the glass-easel project for further details.

Usage

See the template.

Custom Bootstrap

By default, the plugin inserts a bootstrap code to insert the defaultEntry into DOM <body>

However, if the backend is not DOM or you want to bootstrap manually, set the customBootstrap option to true .

new GlassEaselMiniprogramWebpackPlugin({
  customBootstrap: true,
})

Furthermore, if the backend handles stylesheets unlike DOM, another disableClassPrefix may be required to be true depending on the backend.

Readme

Keywords

Package Sidebar

Install

npm i glass-easel-miniprogram-webpack-plugin

Weekly Downloads

80

Version

0.5.3

License

MIT

Unpacked Size

52.1 kB

Total Files

11

Last publish

Collaborators

  • lastleaf
  • wechat-miniprogram