Webpack

Output

output: {
    filename: isEnvProduction ? "static/js/[name].bundle.js": isEnvDevelopment && "static/js/bundle.js"
}