1.4.15 • Published 3d ago
@visual-framework/vf-componenet-rollup
Licence
Apache 2.0
Version
1.4.15
Deps
0
Size
29 kB
Vulns
0
Weekly
0
Component Rollup component
About
The vf-componenet-rollup compiles component Sass and JS into style.css and scripts.js files, retrospectively.
Install
You'll likely want to configure this component to include or exclude Sass and JS files, we suggest cloning it to your local ./src/components.
Get an tarball of this component with:
yarn pack @visual-framework/vf-componenet-rollup
However for very generic VF projects, this component is also distributed with npm. After installing npm, you can install vf-componenet-rollup with this command.
$ yarn add --dev @visual-framework/vf-componenet-rollup
Sass/CSS
Unlike other components, you probably won't want to @import this. Instead the vf-core project will compile this into a style.css and scripts.js.
Make sure you import Sass requirements along with the modules. You can use a project boilerplate or the vf-sass-starter