Skip to content

Commit

Permalink
generate different output files based on condition
Browse files Browse the repository at this point in the history
  • Loading branch information
prabrisha-rudder committed Nov 21, 2019
1 parent 793f7ca commit 2fd7119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rudder-client-javascript/analytics/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default {
external: ["Xmlhttprequest", "universal-analytics"],
output: [
{
file: "dist/browser.js",
file: process.env.ENV == "prod" ? "dist/browser.min.js" : "dist/browser.js",
format: "iife",
name: "rudderanalytics"
} /* ,
Expand Down

0 comments on commit 2fd7119

Please sign in to comment.