Skip to content

Commit

Permalink
example build
Browse files Browse the repository at this point in the history
  • Loading branch information
camargo committed Mar 9, 2017
1 parent 16d4356 commit 9c0208f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ node_modules
*.log
index.js
index.d.ts
dist
3 changes: 2 additions & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "",
"main": "index.js",
"scripts": {
"build:dev": "webpack-dev-server --watch --progress --color"
"build:dev": "webpack-dev-server --watch --progress --color",
"build:prod": "webpack"
},
"devDependencies": {
"babel-core": "6.23.1",
Expand Down
2 changes: 1 addition & 1 deletion example/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {
},

output: {
path: __dirname,
path: __dirname + '/dist',
filename: '[name].js',
chunkFilename: '[id].js'
},
Expand Down

0 comments on commit 9c0208f

Please sign in to comment.