cem-plugin-copy
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

cem-plugin-copy

Copies custom-elements.json and package.json to outdir/${packageName}.

Options

Option Type Description
from string config file's import.meta.url
to string path to copy files to. Files will be written to to/${packageName}
quiet boolean suppress logs

Example

custom-elements-manifest.config.js

import { copyPlugin } from 'cem-plugin-copy';

export default {
  plugins: [
    copyPlugin({ from: import.meta.url, to: './docs/_data/customElementsManifests/' }),
  ]
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.5
    0
    • latest

Version History

Package Sidebar

Install

npm i cem-plugin-copy

Weekly Downloads

0

Version

0.0.5

License

MIT

Unpacked Size

3.46 kB

Total Files

4

Last publish

Collaborators

  • bennyp