diff --git a/examples/wordpress-laravel-mix/README.md b/examples/wordpress-laravel-mix/README.md index 37ebfc8f..1228dc0d 100644 --- a/examples/wordpress-laravel-mix/README.md +++ b/examples/wordpress-laravel-mix/README.md @@ -68,12 +68,12 @@ Once you've done that, open your `package.json` file and add the following: ```json "scripts": { "dev": "npm run development", - "development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", - "watch": "npm run development -- --watch", - "watch-poll": "npm run watch -- --watch-poll", - "hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js", + "development": "mix", + "watch": "mix watch", + "watch-poll": "mix watch -- --watch-options-poll=1000", + "hot": "mix watch --hot", "prod": "npm run production", - "production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js" + "production": "mix --production" }, ``` @@ -99,4 +99,4 @@ npm run dev ## Keep building ```bash npm run watch -``` \ No newline at end of file +```