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

chore: remove UMD build #252

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 0 additions & 8 deletions README.md
Expand Up @@ -25,14 +25,6 @@ magic-string works in both node.js and browser environments. For node, install w
npm i magic-string
```

To use in browser, grab the [magic-string.umd.js](https://unpkg.com/magic-string/dist/magic-string.umd.js) file and add it to your page:

```html
<script src='magic-string.umd.js'></script>
```

(It also works with various module systems, if you prefer that sort of thing - it has a dependency on [vlq](https://github.com/Rich-Harris/vlq).)

## Usage

These examples assume you're in node.js, or something similar:
Expand Down
13 changes: 0 additions & 13 deletions rollup.config.js
Expand Up @@ -31,18 +31,5 @@ export default [
exports: 'default',
sourcemap: true
}
},

/* umd */
{
input: 'src/index-legacy.js',
plugins,
output: {
file: 'dist/magic-string.umd.js',
format: 'umd',
exports: 'default',
name: 'MagicString',
sourcemap: true
}
}
];