{"id":18726792,"url":"https://github.com/pmg1989/nextjs-redux-immutable-starter","last_synced_at":"2025-11-11T21:30:19.629Z","repository":{"id":240872364,"uuid":"124985747","full_name":"pmg1989/nextjs-redux-immutable-starter","owner":"pmg1989","description":"nextjs-redux-immutable-starter","archived":false,"fork":false,"pushed_at":"2018-03-13T07:44:22.000Z","size":298,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-28T13:31:08.229Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pmg1989.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-13T03:17:30.000Z","updated_at":"2018-03-13T04:19:01.000Z","dependencies_parsed_at":"2024-05-21T07:53:20.290Z","dependency_job_id":null,"html_url":"https://github.com/pmg1989/nextjs-redux-immutable-starter","commit_stats":null,"previous_names":["pmg1989/nextjs-redux-immutable-starter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmg1989%2Fnextjs-redux-immutable-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmg1989%2Fnextjs-redux-immutable-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmg1989%2Fnextjs-redux-immutable-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmg1989%2Fnextjs-redux-immutable-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pmg1989","download_url":"https://codeload.github.com/pmg1989/nextjs-redux-immutable-starter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239592971,"owners_count":19664855,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T14:15:29.356Z","updated_at":"2025-11-11T21:30:19.593Z","avatar_url":"https://github.com/pmg1989.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Deploy to now](https://deploy.now.sh/static/button.svg)](https://deploy.now.sh/?repo=https://github.com/zeit/next.js/tree/master/examples/with-universal-configuration)\n\n# With universal configuration\n\n## How to use\n\n### Using `create-next-app`\n\nDownload [`create-next-app`](https://github.com/segmentio/create-next-app) to bootstrap the example:\n\n```\nnpm i -g create-next-app\ncreate-next-app --example with-universal-configuration with-universal-configuration-app\n```\n\n### Download manually\n\nDownload the example [or clone the repo](https://github.com/zeit/next.js):\n\n```bash\ncurl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-universal-configuration\ncd with-universal-configuration\n```\n\nInstall it and run:\n\n```bash\nnpm install\nnpm run dev\n```\n\nDeploy it to the cloud with [now](https://zeit.co/now) ([download](https://zeit.co/download))\n\n```bash\nnow\n```\n\n## The idea behind the example\n\nThis example show how to set custom environment variables for your application based on NODE_ENV using [transform-define](https://github.com/FormidableLabs/babel-plugin-transform-define).\n\n## Caveats\n\n- Because a babel plugin is used the output is cached in `node_modules/.cache` by `babel-loader`. When modifying the configuration you will have to manually clear this cache to make changes visible. Alternately, you may skip caching for `babel-loader` as shown [here](https://github.com/zeit/next.js/issues/1103#issuecomment-279529809).\n- This example sets the environment configuration at build time, meaning the same build might not be used in e.g. both staging and production. For a solution which sets the environment at runtime, see [here](https://github.com/zeit/next.js/issues/1488#issuecomment-289108931). \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmg1989%2Fnextjs-redux-immutable-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpmg1989%2Fnextjs-redux-immutable-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmg1989%2Fnextjs-redux-immutable-starter/lists"}