From 20502f334a3c9ce62a1322a88d897b9afa66ee23 Mon Sep 17 00:00:00 2001 From: Steve 'Cutter' Blades Date: Tue, 4 Jan 2022 14:33:08 -0600 Subject: [PATCH] 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 --- .size-snapshot.json | 22 +++++++++++----------- package.json | 6 +++--- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.size-snapshot.json b/.size-snapshot.json index 50fba7596..860ecf65c 100644 --- a/.size-snapshot.json +++ b/.size-snapshot.json @@ -1,25 +1,25 @@ { "./dist/react-big-calendar.js": { - "bundled": 536877, - "minified": 165660, - "gzipped": 51022 + "bundled": 536878, + "minified": 165661, + "gzipped": 51020 }, "./dist/react-big-calendar.min.js": { - "bundled": 464776, - "minified": 143848, - "gzipped": 45240 + "bundled": 464777, + "minified": 143849, + "gzipped": 45238 }, "dist/react-big-calendar.esm.js": { - "bundled": 220156, - "minified": 99914, - "gzipped": 24835, + "bundled": 220157, + "minified": 99915, + "gzipped": 24833, "treeshaked": { "rollup": { - "code": 63400, + "code": 63401, "import_statements": 1445 }, "webpack": { - "code": 66893 + "code": 66894 } } } diff --git a/package.json b/package.json index cb7254a73..02ef81d8c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-big-calendar", - "version": "0.38.2", + "version": "0.38.3", "description": "Calendar! with events", "author": { "name": "Jason Quense", @@ -32,9 +32,9 @@ "scripts": { "clean": "rimraf lib", "clean:examples": "rimraf examples/static", - "s": "sass src/sass/styles.scss ./lib/css/react-big-calendar.css", + "s": "sass ./lib/sass/styles.scss ./lib/css/react-big-calendar.css", "sass": "yarn s && yarn sass-dnd", - "sass-dnd": "sass src/addons/dragAndDrop/styles.scss ./lib/addons/dragAndDrop/styles.css", + "sass-dnd": "sass ./lib/addons/dragAndDrop/styles.scss ./lib/addons/dragAndDrop/styles.css", "autoprefixer": "postcss ./lib/css/react-big-calendar.css && postcss ./lib/addons/dragAndDrop/styles.css", "build:css": "yarn sass && yarn autoprefixer", "assets": "cpy src/sass/* lib/sass && yarn assets-addons",