Skip to content

Commit

Permalink
docs(readme): updated docs to remove reference to here()
Browse files Browse the repository at this point in the history
* updated docs to remove reference to here() and updated gitignore

* removed gitignore changes
  • Loading branch information
nmaves authored and Kent C. Dodds committed Aug 8, 2016
1 parent 61929aa commit 7900d99
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -3,4 +3,4 @@ node_modules
coverage
dist
.opt-in
.opt-out
.opt-out
5 changes: 3 additions & 2 deletions README.md
Expand Up @@ -97,15 +97,16 @@ argument which you can set on the command line (which means you don't need `cros

```javascript
const webpack = require('webpack')
const {getIfUtils, here} = require('webpack-config-utils')
const {resolve} = require('path')
const {getIfUtils} = require('webpack-config-utils')

module.exports = env => {
const {ifDev} = getIfUtils(env)
return {
output: {
// etc.
pathinfo: ifDev(),
path: here('dist'),
path: resolve(__dirname, 'dist'),
},
// etc.
}
Expand Down

0 comments on commit 7900d99

Please sign in to comment.