File tree Expand file tree Collapse file tree 4 files changed +11
-6
lines changed Expand file tree Collapse file tree 4 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 1+ # Info: the paths in this file are specified so that they align with the file
2+ # structure in `./build` where this file is copied to. This is done by the
3+ # prepack script `sentry-javascript/scripts/prepack.ts`.
4+
15*
6+
27! /dist /** /*
38! /esm /** /*
4- ! /build /** /*
9+ ! /types /** /*
Original file line number Diff line number Diff line change 99 "engines" : {
1010 "node" : " >=6"
1111 },
12- "main" : " dist/index.js" ,
13- "module" : " esm/index.js" ,
12+ "main" : " build/ dist/index.js" ,
13+ "module" : " build/ esm/index.js" ,
1414 "types" : " build/types/index.d.ts" ,
1515 "publishConfig" : {
1616 "access" : " public"
4444 "build:es5:watch" : " yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***" ,
4545 "build:esm:watch" : " tsc -p tsconfig.esm.json --watch" ,
4646 "build:types:watch" : " tsc -p tsconfig.types.json --watch" ,
47- "build:npm" : " npm pack" ,
47+ "build:npm" : " ts-node ../../scripts/prepack.ts -noBundles && npm pack ./build " ,
4848 "circularDepCheck" : " madge --circular src/index.ts" ,
4949 "clean" : " rimraf dist esm build coverage" ,
5050 "fix" : " run-s fix:eslint fix:prettier" ,
Original file line number Diff line number Diff line change 33
44 "compilerOptions" : {
55 "module" : " commonjs" ,
6- "outDir" : " dist"
6+ "outDir" : " build/ dist"
77 }
88}
Original file line number Diff line number Diff line change 33
44 "compilerOptions" : {
55 "module" : " es6" ,
6- "outDir" : " esm"
6+ "outDir" : " build/ esm"
77 }
88}
You can’t perform that action at this time.
0 commit comments