Skip to content

Commit

Permalink
rename dist
Browse files Browse the repository at this point in the history
  • Loading branch information
Diablohu committed Jan 9, 2017
1 parent 27430fd commit 9b8360a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/main.js → dist/bind-event.js

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bind-event",
"version": "1.0.0",
"version": "1.0.1",
"description": "Bind event handler for all browsers by adding prefix automaticlly",
"main": "dist/bind-event.js",
"scripts": {
Expand Down
6 changes: 5 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ const path = require('path');
const srcPath = path.resolve(process.cwd(), 'src');

module.exports = {
entry: path.join(srcPath, 'bind-event.js'),
entry: {
'bind-event': [
path.join(srcPath, 'bind-event.js')
]
},
output: {
path: path.resolve(process.cwd(), 'dist/'),
filename: '[name].js'
Expand Down

0 comments on commit 9b8360a

Please sign in to comment.