Skip to content

Commit

Permalink
Merge pull request #3 from payscale/DoTheThing
Browse files Browse the repository at this point in the history
fix main entry for package.json
  • Loading branch information
jrskerritt authored Jan 15, 2019
2 parents 4e6a141 + 4a22e96 commit 3bcc2fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-beret",
"version": "0.1.1",
"version": "0.1.2",
"description": "React components for your web page's tracking, assets, and more",
"author": "Jim Skerritt <[email protected]>",
"license": "MIT",
Expand All @@ -21,7 +21,7 @@
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"main": "./index.js",
"main": "lib",
"scripts": {
"build": "webpack --mode=production",
"example": "node examples/index.js",
Expand Down
7 changes: 1 addition & 6 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,7 @@ const path = require('path');
module.exports = {
mode: 'production',
entry: {
Ads: './src/components/Ads.js',
Favicons: './src/components/Favicons.js',
Gtm: './src/components/Gtm.js',
GtmNoScript: './src/components/GtmNoScript.js',
Vwo: './src/components/Vwo.js',
WebFont: './src/components/WebFont.js',
index: path.resolve(__dirname, './src/components/index.js')
},
output: {
path: path.resolve(__dirname, 'lib'),
Expand Down

0 comments on commit 3bcc2fa

Please sign in to comment.