wp-react-boilerplate icon indicating copy to clipboard operation
wp-react-boilerplate copied to clipboard

windows 10: yarn build

Open Mulli opened this issue 7 years ago • 2 comments

Minor issue. Yarn build will not run as is, change to: "build": "set NODE_ENV=production && ./node_modules/.bin/webpack",

Mulli avatar Feb 23 '18 16:02 Mulli

FYI this is in the package.json file

sgc2000 avatar Sep 30 '19 20:09 sgc2000

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

sgc2000 avatar Sep 30 '19 20:09 sgc2000