Instantly share code, notes, and snippets.

Embed
What would you like to do?
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