Gathering detailed insights and metrics for @joiner/react-app-rewire-less-modules
Gathering detailed insights and metrics for @joiner/react-app-rewire-less-modules
Gathering detailed insights and metrics for @joiner/react-app-rewire-less-modules
Gathering detailed insights and metrics for @joiner/react-app-rewire-less-modules
npm install @joiner/react-app-rewire-less-modules
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
1 Stars
16 Commits
1 Watchers
1 Branches
1 Contributors
Updated on Dec 25, 2020
Latest Version
1.3.3
Package Id
@joiner/react-app-rewire-less-modules@1.3.3
Unpacked Size
5.16 kB
Size
2.37 kB
File Count
5
NPM Version
5.6.0
Node Version
8.11.1
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
2
1
Add Less and Less module support to create-react-app 2.0 via react-app-rewired.
Create react app 2.0
already supports CSS modules. This extension adds support for regular less files and *.module.less files.
npm install --save-dev @joiner/react-app-rewire-less-modules
OR
yarn add --dev @joiner/react-app-rewire-less-modules
Use the following file extensions for any Less module styles:
*.module.less
Files with the following file extensions will load normally, without the CSS Modules loader:
*.less
In your react-app-rewired configuration:
1/* config-overrides.js */ 2 3const rewireLess = require("@joiner/react-app-rewire-less-modules"); 4 5module.exports = function override(config, env) { 6 7 config = rewireLess(config, env); 8 9 // with loaderOptions 10 config = rewireLess.withLoaderOptions({ 11 modifyVars: { 12 "@primary-color": "#1890ff", 13 }, 14 })(config, env); 15 16 return config; 17};
In your React application:
1// src/App.module.less 2 3.app { 4 color: aqua; 5 6 &:hover { 7 color: lawngreen; 8 } 9}
1// src/App.js 2 3import React from 'react'; 4import styles from './App.module.less'; 5 6export default ({text}) => ( 7 <div className={styles.app}>{text}</div> 8)
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
no SAST tool detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/16 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
17 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More