Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: segmentio/analytics-next
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3448670b63555f71cf58b465502eec80dcfd6bf5
Choose a base ref
..
head repository: segmentio/analytics-next
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e8a146340f37e2f3815dc32cf44a2f6bd37cf9ff
Choose a head ref
Showing with 3 additions and 2 deletions.
  1. +3 −2 packages/browser/package.json
5 changes: 3 additions & 2 deletions packages/browser/package.json
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
"directory": "packages/browser"
},
"license": "MIT",
"main": "./dist/umd/index.js",
"main": "./dist/cjs/index.js",
"module": "./dist/pkg/index.js",
"types": "./dist/types/index.d.ts",
"files": [
@@ -26,9 +26,10 @@
"jest": "yarn run -T jest",
"concurrently": "yarn run -T concurrently",
"watch": "yarn concurrently 'NODE_ENV=production WATCH=true yarn umd --watch' 'yarn pkg --watch'",
"build": "yarn clean && yarn build-prep && yarn concurrently 'NODE_ENV=production yarn umd' 'yarn pkg'",
"build": "yarn clean && yarn build-prep && yarn concurrently 'NODE_ENV=production yarn umd' 'yarn pkg' 'yarn cjs'",
"release:cdn": "yarn run -T browser+deps build && NODE_ENV=production bash scripts/release.sh && NODE_ENV=stage bash scripts/release.sh",
"pkg": "yarn tsc -p tsconfig.build.json",
"cjs": "yarn tsc -p tsconfig.build.json --outDir ./dist/cjs --module commonjs",
"clean": "rm -rf dist",
"lint": "yarn concurrently 'yarn:eslint .' 'yarn:tsc --noEmit'",
"test": "yarn jest"