shopify-bare
rollup-plugin-postcss
Our great sponsors
shopify-bare | rollup-plugin-postcss | |
---|---|---|
1 | 3 | |
40 | 672 | |
- | - | |
5.4 | 0.0 | |
6 months ago | about 2 months ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
shopify-bare
rollup-plugin-postcss
-
React Library Builder using Rollup.js and Storybook
The React Library Builder supports both SCSS and CSS out of the box, so you can style your components as you normally would. If you want to use CSS modules, you can refer to the rollup-plugin-postcss documentation for more information.
-
Using Fontsource With 11ty
import { nodeResolve } from "@rollup/plugin-node-resolve"; import postcss from "rollup-plugin-postcss"; import copy from "rollup-plugin-copy"; export default [ { input: "src/js/combine.js", output: { file: "src/js/minified/index.bundle.js", sourcemap: false, } plugins: [ nodeResolve(), postcss({ extract: true, // no way to move output to another folder https://github.com/egoist/rollup-plugin-postcss/issues/250 minimize: true, }), copy({ targets: [ { src: "src/js/minified/index.bundle.css", dest: "src/styles/minified", rename: "fonts.bundle.css", }, ], verbose: true, hook: "writeBundle", }) ], } ];
-
Setting Up a JavaScript Build Process using Rollup
To process Less files we will use PostCSS, which is a JavaScript build tool for CSS, Less, and other CSS preprocessors. It also comes with a built-in minifier. We can add it to the project with a Rollup plugin:
What are some alternatives?
shopify-theme-lab - Shopify theme development environment using Liquid, Vue and Tailwind CSS. Built on top of Shopify CLI ๐งช
autoprefixer - Parse CSS and add vendor prefixes to rules by Can I Use
air-light - ๐จ WordPress starter theme - designed to be minimal, ultra-lightweight (< 20 kB) and easy for all kinds of WordPress projects. 7+years/1000+hours of development and still updating daily! We prefer the original WordPress way of doing things so no strange templating languages or frameworks here.
Less - Leaner CSS, in your browser or Ruby (via less.js).
rollup-react-example - An example React application using Rollup with ES modules, dynamic imports, Service Workers, and Flow.
browserslist - ๐ฆ Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-preset-env
jekyll-starter-tailwind - Jekyll starter styled with Tailwind CSS
rollup-plugin-terser - Rollup plugin to minify generated bundle
shopify-packer - Modern development tool for Shopify using Webpack 5. Easy to extend and customize, zero build config, compatible with Slate and existing websites.
vue3-component-library - This is a template for building vue components library.Project makes use of vue3.0 with rollup configuration to build treeshakable imports and Postcss for compilation of css
gulp-app - Gulp app to automate tasks such as sass/scss compilation, images and scripts optimization, cache busting etc.
react-flexbox-grid - A set of React components implementing flexboxgrid with the power of CSS Modules.