Created
February 28, 2023 02:54
-
-
Save Tmeister/a7b5b5a903947e96e64a3dc6abf8409f to your computer and use it in GitHub Desktop.
Running @wordpress/scripts start with hot reload on a custom domain
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const defaultConfig = require( '@wordpress/scripts/config/webpack.config' ); | |
module.exports = { | |
...defaultConfig, | |
devServer: { | |
...defaultConfig.devServer, | |
host: 'yourdevdomain.test' | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment