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.
rollup-plugin-cpy2
Advanced tools
Readme
Very basic rollup plugin to copy static assets over to you public directory. Files are copied using cpy
This package can be installed using npm:
npm install rollup-plugin-cpy2
Add the following lines to your rollup.config.js
:
import copy from 'rollup-plugin-cpy2';
...
export default {
...
plugins: [
...
copy({
src: ['**/*.less'],
dest: path.resolve(__dirname, '../es/'),
options: {
cwd: path.resolve(__dirname, '../src/components/'),
parents: true,
rename: basename => `style/${basename}`,
},
}),
...
]
...
}
src
: <array>
: glob style filenamesdest
: <string>
: assets to copy tooptions
: <object>
: cpy config optionscwd
: <string>
: Working directory to find source files. (default is process.cwd()
)parents
: <boolean>
: Preserve path structure. (default is false
)rename
: <string|function>
: Filename or function returning a filename used to rename every file in files. (default is null
)FAQs
Simple rollup plugin to copy static assets over to you public directory
The npm package rollup-plugin-cpy2 receives a total of 0 weekly downloads. As such, rollup-plugin-cpy2 popularity was classified as not popular.
We found that rollup-plugin-cpy2 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.