Skip to content

Instantly share code, notes, and snippets.

@apotox
Created May 24, 2019 15:42
Show Gist options
  • Save apotox/f317ef6ff7ecd93cdd68455f56e288af to your computer and use it in GitHub Desktop.
Save apotox/f317ef6ff7ecd93cdd68455f56e288af to your computer and use it in GitHub Desktop.
firebase-sdk-with-netlify-functions build
"start": "concurrently 'yarn start:client' 'yarn start:server'",
"start:client": "webpack-dev-server --mode development --hot --config webpack.client.js",
"start:server": "netlify-lambda serve src/lambda -c webpack.server.js",
"build": "yarn build:client && yarn build:server && cd dist/server/ && yarn install",
"build:client": "webpack --mode production --config webpack.client.js",
"build:server": "netlify-lambda build src/lambda -c webpack.server.js"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment