Zach Glassner
Zach Glassner
I've just run into a similar issue as well. Seems to be caused here: https://github.com/jaredpalmer/backpack/blob/cf489d6840df0579e3d0bafba578af7c9485e7e4/packages/backpack-core/config/webpack.config.js#L121-L128 Looks like the `require.resolve('source-map-support/register')` is resolved as an absolute path which is breaking when I...
Thanks for the link. Ended up doing something similar, but kept the plugin. I was using `yarn workspace run build` which starts a process in the workspace's directory so I...
Glad I could help! I tried something similar with `path.relative` but was still having issues with it on macOS. I was also thinking about making a PR, but I'm still...
You can do this in your `package.json` scripts. Here's an example: ```json "scripts":{ "build": "backpack build ./src/index.ts", "build:production": "NODE_ENV=production yarn build" } ```