Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
parcel-plugin-copy-files
Advanced tools
parcel plugin to copy a list of files straight into your dist directory
Copies a list of files straight into your dist directory
package.json
{
"files-to-copy": [
{
"source": "./assets/img.png",
"target": "./assets/my-img.png"
},
"./node_modules/special-package/dist/worker.js"
]
}
Files will be placed in the dist folder at the top level, unless the object syntax is used, with a target that contains a name indicating a nested structure.
In the example above, the dist
folder will end up with a worker.js
file and an /assets/my-img.png
file. The target
string will be used to resolve the file from the dist
directory, so you probably don't want to begin with a /
. Either ./name
or name
is likely what you're going for if you want the file to be created at dist/name
.
FAQs
parcel plugin to copy a list of files straight into your dist directory
We found that parcel-plugin-copy-files 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
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.