Package Exports
- docusaurus-plugin-less
- docusaurus-plugin-less/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (docusaurus-plugin-less) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
docusaurus-plugin-less
Provides support for Less to Docusaurus v2
Getting Started
Install
docusaurus-plugin-less:npm i -S docusaurus-plugin-lessor
yarn add docusaurus-plugin-lessAdd the plugin to your
docusaurus.config.js:module.exports = { // ... + plugins: ["docusaurus-plugin-less"], // ... }or with
options:module.exports = { // ... + plugins: ["docusaurus-plugin-less", { /* options */ sourceMap: false }], // ... }Write and import your stylesheets in Less as normal.