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/' }),
  ]
}

Package Sidebar

Install

npm i cem-plugin-copy

Weekly Downloads

2

Version

0.0.5

License

MIT

Unpacked Size

3.46 kB

Total Files

4

Last publish

Collaborators

  • bennyp