cn-build-plugin-fusion-mobile
v1.1.1
Published
app plugin for Fusion Mobile
Downloads
4
Readme
build-plugin-fusion-mobile
Plugin for rax app using Fusion Mobile
Usage
build.json
{
"plugins": [
[
"build-plugin-fusion-mobile",
{
"extractModules": true,
"transformCssVariables": true
}
]
]
}
config
extractModules
use babel-plugin-import to extract component code for @alifd/meet, @alifd/meet-react
default: true
transformCssVariables
[work in miniapp only] tranform css variables into static values for miniapp css bundles, such as bundle.css.wxss
, bundle.css.acss
.
default: false
eg:
:root {
--color-brand-3: #209bfa;
}
.mt-button {
background-color: var(--color-brand-3);
}
will get
.mt-button {
background-color: #209bfa;
}