'How to output different files (paths) based on environment (dev/prod) on Laravel Mix?
I'm using Vue, and using vue.esm-bundler.js build. Docs say:
Leaves prod/dev branches with process.env.NODE_ENV guards (must be replaced by bundler)
So I would like to have different file outputs with npx mix vs npx mix -p. Is it possible? Or, how should I do in this use case?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
