diff --git a/package.json b/package.json index 6e668a9cad9f..42a8a7026328 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/prebid.public.js b/src/prebid.public.js new file mode 100644 index 000000000000..f05e671ac24f --- /dev/null +++ b/src/prebid.public.js @@ -0,0 +1 @@ +export {default} from './prebid.js';