Skip to content

Commit

Permalink
Merge pull request #1 from modernweb-dev/init
Browse files Browse the repository at this point in the history
Initial move from `modernweb-dev/web` monorepo
  • Loading branch information
koddsson authored Jan 11, 2024
2 parents 97fd0a5 + 22357c0 commit 8cb3414
Show file tree
Hide file tree
Showing 21 changed files with 3,268 additions and 2 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
dist
67 changes: 67 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# @web/rollup-plugin-copy

## 0.5.1

### Patch Changes

- b6d8bcf2: Update the `glob` dependency

## 0.5.0

### Minor Changes

- c185cbaa: Set minimum node version to 18

## 0.4.1

### Patch Changes

- 640ba85f: added types for main entry point

## 0.4.0

### Minor Changes

- febd9d9d: Set node 16 as the minimum version.

## 0.3.0

### Minor Changes

- 7f9d853c: Added `exclude` option for rollup-plugin-copy.

Example: Exclude single directory:

```js
copy({ pattern: '**/*.svg', exclude: 'node_modules' });
```

Example: Exclude multiple globs:

```js
copy({ pattern: '**/*.svg', exclude: ['node_modules', 'src/graphics'] });
```

## 0.2.0

### Minor Changes

- b06a71b: adds copied files to watch list

## 0.1.2

### Patch Changes

- bde5be4: Also copy hidden "dot" files and folders

## 0.1.1

### Patch Changes

- 0876717: define exported types so users can consume them

## 0.1.0

### Minor Changes

- 08197ef: Initial version
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# package-template
A template for Modern Web packages
# Rollup Plugin Copy

A Rollup plugin which copies asset files while retaining the relative folder structure.

See [our website](https://modern-web.dev/docs/building/rollup-plugin-copy/) for full documentation.
5 changes: 5 additions & 0 deletions index.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import cjsEntrypoint from './src/copy.js';

const { copy } = cjsEntrypoint;

export { copy };
Loading

0 comments on commit 8cb3414

Please sign in to comment.