4 ms·
Is your webpack config compatible with Windows? Most of them set environment variables in a way that is not cross platform.
by hoodoof 11y ago
Is your webpack config compatible with Windows? Most of them set environment variables in a way that is not cross platform.
- mxstbr 11y agoI honestly haven't tried it, that's a very very good point. How would I set them so it works on Windows as well? I'll change it asap!
- mg74 11y agoIf you want to do Windows, consider using https://github.com/kentcdodds/argv-set-env https://github.com/kentcdodds/argv-set-env for a cross-platform solution to setting enviroment variables
- mxstbr 11y agoThanks, it's now fixed for the master branch using kentcdodds/cross-env.[0] [0]: See this commit: https://github.com/mxstbr/react-boilerplate/commit/ea57943338c47c673a8a1d815fee0b5f8f3bfc84 https://github.com/mxstbr/react-boilerplate/commit/ea5794333...