Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
}
}
];