Skip to content

Commit

Permalink
Core: export only public interface for NPM consumers (prebid#11474)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgirardi authored and f.caspar committed May 14, 2024
1 parent cc37569 commit 5fca238
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
11 changes: 10 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,16 @@
"name": "prebid.js",
"version": "8.49.0-pre",
"description": "Header Bidding Management Library",
"main": "src/prebid.js",
"main": "src/prebid.public.js",
"exports": {
".": "./src/prebid.public.js",
"./prebid.js": "./src/prebid.public.js",
"./prebid": "./src/prebid.public.js",
"./.babelrc.js": "./.babelrc.js",
"./babelConfig.js": "./babelConfig.js",
"./modules/*": "./modules/*",
"./modules/*.js": "./modules/*.js"
},
"scripts": {
"serve": "gulp serve",
"test": "gulp test",
Expand Down
1 change: 1 addition & 0 deletions src/prebid.public.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {default} from './prebid.js';

0 comments on commit 5fca238

Please sign in to comment.