Closed AttitudeL closed 7 years ago
I have tried to exclude the a config file if the env variable isProd is true in webpack.config.js so that after "npm run build", the "dist" directory will not contain that config file. However I haven't made any progress so far.
Any help would be appreciated.
I eventually solved this issue. Just need to add "ignore" in CopyWebpackPlugin for the files you want to exclude for prod.
I have tried to exclude the a config file if the env variable isProd is true in webpack.config.js so that after "npm run build", the "dist" directory will not contain that config file. However I haven't made any progress so far.
Any help would be appreciated.