storybook-less-loader

0.1.0 • Public • Published

storybook-less-loader

Add less loader with storybook

  1. Install: npm i storybook-less-loader less-loader less --save-dev
  2. Open .storybook/main.js, add
  const useLessLoader = require('storybook-less-loader')
  module.exports = {
    ...,
    webpackFinal: async (config) => {
      const includeLessConfig = useLessLoader(config)
      return includeLessConfig
    }
  }

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i storybook-less-loader

      Weekly Downloads

      802

      Version

      0.1.0

      License

      ISC

      Unpacked Size

      2.98 kB

      Total Files

      5

      Last publish

      Collaborators

      • jsonz