django-reactjs-boilerplate
django-reactjs-boilerplate copied to clipboard
Run fabric with webpack in project and not global
Is posible run fabric script usin a webpack inside of the project:
def webpack(): local('rm -rf djreact/static/bundles/stage/*') local('rm -rf djreact/static/bundles/prod/*') local('node_modules/.bin/webpack --config webpack.stage.config.js --progress --colors') local('node_modules/.bin/webpack --config webpack.prod.config.js --progress --colors')
I have a problem with the following mensage : "webpack" is not reconize how a command in or out
Thanks.