Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: rename package #5

Merged
merged 1 commit into from
Apr 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![Build](https://github.com/netlify/edge-bundler/workflows/Build/badge.svg)](https://github.com/netlify/edge-bundler/actions)
[![Node](https://img.shields.io/node/v/@netlify-labs/edge-bundler.svg?logo=node.js)](https://www.npmjs.com/package/@netlify-labs/edge-bundler)
[![Node](https://img.shields.io/node/v/@netlify/edge-bundler.svg?logo=node.js)](https://www.npmjs.com/package/@netlify/edge-bundler)

# Edge Bundler

Expand All @@ -10,13 +10,13 @@ Intelligently prepare Netlify Edge Functions for deployment.
1. Install this module as a dependency in your project

```
npm install @netlify-labs/edge-bundler --save
npm install @netlify/edge-bundler --save
```

2. Import it and create a bundle from a directory of Edge Functions and a list of declarations.

```js
import { bundle } from '@netlify-labs/edge-bundler'
import { bundle } from '@netlify/edge-bundler'

// List of directories to search for Edge Functions.
const sourceDirectories = [
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
"name": "@netlify-labs/edge-bundler",
"publishConfig": {
"registry": "https://npm.pkg.github.com"
},
"name": "@netlify/edge-bundler",
"version": "0.11.0",
"description": "Intelligently prepare Netlify Edge Functions for deployment",
"type": "module",
Expand Down