Skip to content

Commit

Permalink
Fixes package main entry point
Browse files Browse the repository at this point in the history
The main entry point in the package.json file is now set to src/instacam.js to prevent webpack from building production script containing harmony exports. This fixes #27.
  • Loading branch information
xavierfoucrier committed Oct 8, 2018
1 parent 93781a0 commit 2ed9f44
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/instacam.js

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

2 changes: 1 addition & 1 deletion dist/instacam.min.js

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "instacam",
"version": "1.0.1",
"version": "1.0.2",
"description": "Instant canvas video",
"main": "dist/instacam.js",
"main": "src/instacam.js",
"scripts": {
"build:dev": "webpack --config webpack.dev.js",
"build:prod": "webpack --config webpack.prod.js",
Expand Down

0 comments on commit 2ed9f44

Please sign in to comment.