Skip to content

Commit

Permalink
Merge pull request #1558 from ably/umd-lib-name
Browse files Browse the repository at this point in the history
build: use `Ably` as UMD lib name
  • Loading branch information
VeskeR authored Feb 2, 2024
2 parents be5648e + 41686c0 commit d61735b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ module.exports = function (grunt) {
sourcemap: true,
format: 'umd',
banner: { js: '/*' + banner + '*/' },
plugins: [umdWrapper.default()],
plugins: [umdWrapper.default({ libraryName: 'Ably', amdNamedModule: false })],
target: 'es6',
};
}
Expand Down
15 changes: 7 additions & 8 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"cli-table": "^0.3.11",
"cors": "^2.8.5",
"esbuild": "^0.18.10",
"esbuild-plugin-umd-wrapper": "^1.0.7",
"esbuild-plugin-umd-wrapper": "ably-forks/esbuild-plugin-umd-wrapper#1.0.7-optional-amd-named-module",
"esbuild-runner": "^2.2.2",
"eslint": "^7.13.0",
"eslint-plugin-import": "^2.28.0",
Expand Down

0 comments on commit d61735b

Please sign in to comment.