huangbinjie / next-global-less

make specific less file from being processed by css modules.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

next-global-less

在被 next-less 处理过且开启 css modules 的 less 项目中,指定一个文件让其不被 css modules 处理。

Install

yarn add next-global-less

Usage

const withGlobalLess = require('./next-global-less')
const path = require('path')

module.exports = withGlobalLess({globalPath: path.join(__dirname, './pages/global.less')})

About

make specific less file from being processed by css modules.


Languages

Language:JavaScript 100.0%