-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inject webpack into html5_video_plugin repo #346
Conversation
package.json
Outdated
@@ -10,7 +10,9 @@ | |||
}, | |||
"scripts": { | |||
"build": "gulp", | |||
"test": "jest" | |||
"test": "jest", | |||
"start": "webpack --mode development", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems more like build
task
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's make it consistent with html5-skin repo.
Now build
task can't be modified, so we can call it build:future
"build:future": "webpack --mode development",
"build-prod": "webpack --mode production",
"start": "webpack-dev-server"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your comment, I'lI add those changes. Previously I was thinking about webpack-dev-server and I didn't add it because gulp doesn't do it in this repo.
webpack.config.js
Outdated
}) | ||
], | ||
devtool: 'sourcemap', | ||
watch: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's use webpack-dev-server
for watching
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok!
https://jira.corp.ooyala.com/browse/PLAYER-4906