Skip to content

Instantly share code, notes, and snippets.

@caseydriscoll
Created July 8, 2017 22:57
Show Gist options
  • Save caseydriscoll/62f12ec9ce8980ccd2fcdc0bfc337819 to your computer and use it in GitHub Desktop.
Save caseydriscoll/62f12ec9ce8980ccd2fcdc0bfc337819 to your computer and use it in GitHub Desktop.
Set Development Config Settings
{
"entry": {
"main": [
"./scripts/main.js",
"./styles/main.scss"
],
"customizer": [
"./scripts/customizer.js"
]
}, <= This 'publicPath' is for 'Bedrock' setups.
"publicPath": "/app/themes/wcdc", <= Yours should probaby be "/wp-content/themes/THEMENAME"
"devUrl": "http://wcdc17.dev", <= The should be the URL set in your /etc/hosts
"proxyUrl": "http://localhost:3000",
"cacheBusting": "[name]_[hash:8]",
"watch": [
"{app,resources/views}/**/*.php"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment