Skip to content

Commit

Permalink
fix(build): fix production build library export
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisboustead committed Mar 20, 2019
1 parent f285eaa commit a199d5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"version": "1.2.2",
"homepage": "https://github.com/chrisboustead/netlify-cms-widget-async-select",
"license": "MIT",
"main": "dist/main.js",
"main": "dist/index.js",
"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
Expand Down
3 changes: 1 addition & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ const developmentConfig = {
const productionConfig = {
mode: 'production',
entry: {
AsyncSelectControl: ['./src/Control.js'],
AsyncSelectPreview: ['./src/Preview.js']
index: ['./src/index.js']
},
module: {
rules: [
Expand Down

0 comments on commit a199d5b

Please sign in to comment.