Best movie app ever
Install dependencies:
npm
Run development mode:
# npm run dev <workspace>
npm run dev website
Build single workspace:
# npm run build <workspace>
npm run build website
Create workspaces/<workspace_name>/index.tsx
and run:
npm run dev <workspace_name>
Create workspaces/<workspace_name>/webpack.config.js
:
module.exports = function(config) {
// Modify config and return it
return config
}
To setup service worker, during build set PUBLIC_PATH
to website URL.
PUBLIC_PATH=https://website.example npm run build website
To setup error tracking, set SENTRY_URL
environment variable to your sentry project url.
SENTRY_URL=https://[email protected]/XXXXXXX
To render app at sub directory, set ROUTER_BASEPATH
environment variable the sub directory name.
ROUTER_BASEPATH=/sub-directory-name