Skip to content

Commit

Permalink
feat(bundle): Rename UMD name from ui-router-visualizer to `@uirout…
Browse files Browse the repository at this point in the history
…er/visualizer` for consistency

BREAKING CHANGE: UMD name renamed from `ui-router-visualizer` to `@uirouter/visualizer`.
This will affect people who add the visualizer using script tags, instead of a bundler.

```
var Visualizer = window['@uirouter/visualizer'];
router.plugin(Visualizer);
```
  • Loading branch information
christopherthielen committed Jan 14, 2018
1 parent 4e2dbcc commit 7b7b9d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = {
publicPath: "/_bundles/",
filename: "[name].js",
libraryTarget: "umd",
library: "ui-router-visualizer",
library: "@uirouter/visualizer",
umdNamedDefine: true
},

Expand Down

0 comments on commit 7b7b9d6

Please sign in to comment.