File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change
1
+ # 2.0.0-rc5 (2019-03-15)
2
+
3
+ - Add sourcemaps
4
+
1
5
# 2.0.0-rc4 (2019-03-15)
2
6
3
7
- Improve minified bundle size
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " random-js" ,
3
3
"description" : " A mathematically correct random number generator library for JavaScript." ,
4
- "version" : " 2.0.0-rc4 " ,
4
+ "version" : " 2.0.0-rc5 " ,
5
5
"author" : {
6
6
"name" : " Cameron Kenneth Knight" ,
7
7
"email" : " ckknight@gmail.com"
39
39
},
40
40
"scripts" : {
41
41
"clean" : " rimraf dist" ,
42
- "build:umd" : " rollup -c rollup.config.es3.js --format umd -o dist/random-js.js --name Random" ,
43
- "build:esm" : " rollup -c rollup.config.js --format esm -o dist/random-js.mjs" ,
42
+ "build:umd" : " rollup -c rollup.config.es3.js --format umd -o dist/random-js.js --name Random -m " ,
43
+ "build:esm" : " rollup -c rollup.config.js --format esm --sourcemap true - o dist/random-js.mjs" ,
44
44
"prebuild" : " yarn clean" ,
45
45
"build" : " yarn build:umd && yarn build:esm" ,
46
- "minify" : " terser --compress --mangle --output dist/random-js.min.js dist/random-js.js" ,
46
+ "minify" : " terser --source-map content=dist/random-js.js.map -- compress --mangle --output dist/random-js.min.js dist/random-js.js" ,
47
47
"postbuild" : " yarn minify" ,
48
48
"benchmark" : " for k in benchmark/*.js; do node $k; done" ,
49
49
"test" : " jest" ,
Original file line number Diff line number Diff line change 4
4
"module" : " esnext" ,
5
5
"declaration" : true ,
6
6
"rootDir" : " ./src" ,
7
- "strict" : true
7
+ "strict" : true ,
8
8
// "noUnusedLocals": true,
9
9
// "noUnusedParameters": true,
10
10
// "noImplicitReturns": true,
11
11
// "noFallthroughCasesInSwitch": true
12
+ "sourceMap" : true
12
13
},
13
14
"exclude" : [" dist/**" ]
14
15
}
You can’t perform that action at this time.
0 commit comments