Skip to content
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

Small docs update suggestions #42

Closed
stephen-last opened this issue Mar 9, 2017 · 1 comment
Closed

Small docs update suggestions #42

stephen-last opened this issue Mar 9, 2017 · 1 comment

Comments

@stephen-last
Copy link

For paths, maybe add a couple more examples, including how to remove the contents of the folder, rather than the folder itself:

[
  'dist',      // removes 'dist' folder
  'build/*.*', // removes all files in 'build' folder
  'web/*.js'   // removes all JavaScript files in 'web' folder
]

For the root option, make it clear that it's the root of your package. The webpack.config file currently mentioned could actually sit anywhere, it doesn't have to sit in your package root folder (mine is in /webpack/index.js).

{
  root: __dirname // absolute path - your package root folder (paths appended to this)
}

I guess you could change webpack.config to package.json.

@johnagan
Copy link
Owner

done. thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants