iview-cli
generated project,
under the src/config
folder is like this:
$ tree .
.
config.js
env.js
config.js
content:
import Env from "./env";
let config = {
env: Env
};
export default config;
evn.js
content:
export default "development";
this is not consistent with the config folder generated by the classic webpack build project.
excuse me, how should I set up here?
for example, I want to configure the publishing environment.
if it is a typical webpack scaffolding project, there are dev.env.js
, prod.env.js
. Could you tell me how to configure it here?