Skip to content

Commit 20502f3

Browse files
authored
fix(sass): Reference distributed folder in SASS compile (#2091)
* fix(sass): Reference distributed folder in SASS compile Since `./src` folder is not distributed with package install, we must reference the `./lib` folder for proper sourcemapping (#2086). * chore: Manually update package version for bump test
1 parent ae8307b commit 20502f3

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

.size-snapshot.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
{
22
"./dist/react-big-calendar.js": {
3-
"bundled": 536877,
4-
"minified": 165660,
5-
"gzipped": 51022
3+
"bundled": 536878,
4+
"minified": 165661,
5+
"gzipped": 51020
66
},
77
"./dist/react-big-calendar.min.js": {
8-
"bundled": 464776,
9-
"minified": 143848,
10-
"gzipped": 45240
8+
"bundled": 464777,
9+
"minified": 143849,
10+
"gzipped": 45238
1111
},
1212
"dist/react-big-calendar.esm.js": {
13-
"bundled": 220156,
14-
"minified": 99914,
15-
"gzipped": 24835,
13+
"bundled": 220157,
14+
"minified": 99915,
15+
"gzipped": 24833,
1616
"treeshaked": {
1717
"rollup": {
18-
"code": 63400,
18+
"code": 63401,
1919
"import_statements": 1445
2020
},
2121
"webpack": {
22-
"code": 66893
22+
"code": 66894
2323
}
2424
}
2525
}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-big-calendar",
3-
"version": "0.38.2",
3+
"version": "0.38.3",
44
"description": "Calendar! with events",
55
"author": {
66
"name": "Jason Quense",
@@ -32,9 +32,9 @@
3232
"scripts": {
3333
"clean": "rimraf lib",
3434
"clean:examples": "rimraf examples/static",
35-
"s": "sass src/sass/styles.scss ./lib/css/react-big-calendar.css",
35+
"s": "sass ./lib/sass/styles.scss ./lib/css/react-big-calendar.css",
3636
"sass": "yarn s && yarn sass-dnd",
37-
"sass-dnd": "sass src/addons/dragAndDrop/styles.scss ./lib/addons/dragAndDrop/styles.css",
37+
"sass-dnd": "sass ./lib/addons/dragAndDrop/styles.scss ./lib/addons/dragAndDrop/styles.css",
3838
"autoprefixer": "postcss ./lib/css/react-big-calendar.css && postcss ./lib/addons/dragAndDrop/styles.css",
3939
"build:css": "yarn sass && yarn autoprefixer",
4040
"assets": "cpy src/sass/* lib/sass && yarn assets-addons",

0 commit comments

Comments
 (0)