vue-storefront-1 icon indicating copy to clipboard operation
vue-storefront-1 copied to clipboard

Separate building stage from yarn:start

Open lukeromanowicz opened this issue 6 years ago • 2 comments

Current behavior

PM2 requires ts-node instead of running purely on the built code from dist

Expected behavior

I can build the project with dev dependencies, install prod dependencies only, move the full artifact to the prod server and run the app without any building

Steps to reproduce the issue

See how ecosystem.json and package.json are configured

Can you handle fixing this bug by yourself?

  • [x] YES
  • [ ] NO

Which Release Cycle state this refers to? Info for developer.

Pick one option.

  • [x] This is a bug report for test version on https://test.storefrontcloud.io - In this case Developer should create branch from develop branch and create Pull Request 2. Feature / Improvement back to develop.
  • [ ] This is a bug report for current Release Candidate version on https://next.storefrontcloud.io - In this case Developer should create branch from release branch and create Pull Request 3. Stabilisation fix back to release.
  • [ ] This is a bug report for current Stable version on https://demo.storefrontcloud.io and should be placed in next stable version hotfix - In this case Developer should create branch from hotfix or master branch and create Pull Request 4. Hotfix back to hotfix.

Additional information

I marked it as to develop because it should be fixed in 2.0 rather than 1.11 due to major potentially breaking changes

lukeromanowicz avatar Sep 13 '19 11:09 lukeromanowicz

It will be closed by vuestorefront/vue-storefront#3539

pkarw avatar Sep 13 '19 11:09 pkarw

it's not a bug by the way - so I changed the type

pkarw avatar Sep 27 '19 22:09 pkarw