next-global-less
v0.0.3
Published
make specific less file from being processed by css modules.
Downloads
7
Maintainers
Readme
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')})