wp-react-boilerplate
wp-react-boilerplate copied to clipboard
windows 10: yarn build
Minor issue.
Yarn build will not run as is, change to:
"build": "set NODE_ENV=production && ./node_modules/.bin/webpack",
FYI this is in the package.json file
After noticing that wasn't working I had to remove the leading space after 'production':
"build": "set NODE_ENV=production&& ./node_modules/.bin/webpack",
otherwise NODE_ENV
is set to production