Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
patch-angular-postcss
Advanced tools
This library exports function that can be used inside custom-webpack to add custom postcss plugins
Readme
This library exports function that can be used inside custom-webpack to add custom postcss plugins
name | default | description |
---|---|---|
webpackConfig | Webpack config | |
addPlugins | [] | Array of plugins |
patchComponentsStyles | false | patch components styles |
patchGlobalStyles | true | patch components styles |
webpack.config.js
:
const { patchAngularPostCSS } = require("patch-angular-postcss");
module.exports = (config) => {
function patchAngularPostCSS({
webpackConfig: config,
addPlugins: [require('postcss-preset-env'), require('postcss-css-variables')],
patchComponentsStyles: true,
patchGlobalStyles: true,
}
return config;
};
npm start # or yarn start
This builds to /dist
and runs the project in watch mode so any edits you save inside src
causes a rebuild to /dist
.
To do a one-off build, use npm run build
or yarn build
.
To run tests, use npm test
or yarn test
.
size-limit
is set up to calculate the real cost of your library with npm run size
and visualize the bundle with npm run analyze
.
FAQs
This library exports function that can be used inside custom-webpack to add custom postcss plugins
The npm package patch-angular-postcss receives a total of 0 weekly downloads. As such, patch-angular-postcss popularity was classified as not popular.
We found that patch-angular-postcss demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.