Skip to content

Commit

Permalink
Revert "fix(razzle): make manifest path relative in builds"
Browse files Browse the repository at this point in the history
This reverts commit b6059ff.
  • Loading branch information
fivethreeo committed Aug 22, 2021
1 parent b6059ff commit a10a994
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/razzle/config/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ function getClientEnvironment(target, is_dev, options, paths) {
PORT: process.env.PORT || options.port || 3000,
VERBOSE: !!process.env.VERBOSE,
HOST: process.env.HOST || options.host || 'localhost',
RAZZLE_ASSETS_MANIFEST: !is_dev
? path.relative(paths.appPath, paths.appAssetsManifest)
: paths.appAssetsManifest,
RAZZLE_ASSETS_MANIFEST: paths.appAssetsManifest,
BUILD_TARGET: target === 'web' ? 'client' : 'server',
// only for production builds. Useful if you need to serve from a CDN
PUBLIC_PATH: process.env.PUBLIC_PATH || '/',
Expand Down

1 comment on commit a10a994

@vercel
Copy link

@vercel vercel bot commented on a10a994 Aug 22, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.