question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

As common, we’ve got more systems than “prod” with different env config to build/deploy.

Is there a elegant solution to extend the build process within the template for another config/stage.env?

Goal should be this:

npm run build:demo => create demo bundle
npm run build:prod => create prod bundle

Currently I see nothing extendable in configuration and I don’t want to rewrite the build stack, again.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
LinusBorgcommented, Dec 13, 2017

I started working on this today, as a matter of fact. Will push a WIP PR as soon as I have tested it once, hopefully tonight.

Doing this cleanly requires some rewiring of the webpack configs and adjusting documentation, so I don’t think it will be ready in the coming few days, but won’t take weeks either.

Sidenote: previous discussions in #903

1reaction
BoyardIsBackcommented, Feb 6, 2018
Read more comments on GitHub >

github_iconTop Results From Across the Web

Multi-stage builds - Docker Documentation
With multi-stage builds, you use multiple FROM statements in your Dockerfile. Each FROM instruction can use a different base, and each of them...
Read more >
Multiple Build Configurations - Advanced Installer
Step by step tutorial on how to create a project with multiple build configurations. ... Go to the Builds page by clicking on...
Read more >
Multiple Builds | City of Heroes Wiki | Fandom
Issue 13 added the ability for characters to have multiple builds. Each build allows the character to have completely separate power choices and...
Read more >
How to Install Multiple Kodi Builds on Amazon FireStick
And, in this guide, I am going to share how to install more than one Kodi build on Kodi supported devices including Amazon...
Read more >
How to: Build multiple configurations - Visual Studio (Windows)
Learn how you can build most types of projects with multiple, or even all, of their build configurations with one IDE action.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found