From 737d89e2e7ab219faa99093549b2145d0ae3b7d4 Mon Sep 17 00:00:00 2001 From: Thomas Ghysels Date: Tue, 29 Jun 2021 23:55:53 +0200 Subject: [PATCH] v3.0.0 --- CHANGELOG.md | 12 ++++++++++++ package.json | 3 ++- test/sass/rollup.config.js | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6910d2b..f2d7913 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,19 @@ All notable changes to `rollup-plugin-scss` will be documented in this file. ## [Unreleased] +## [3.0.0] - 2021-06-29 + +### Added + +- Add insert option @syJSdev - Add `sourceMap` option to enable generation of source map @astappiev +- Add Yarn PnP support` @eagerestwolf +- Refactor to Typescript +- Automated testing using Github Actions + +### Updated + +- Prefer sass over node-sass - A `processor` can receive map as second parameter and return `{ css: string, map?: string }` - Remove `node-sass` from optionalDependencies @astappiev
**You have to specify `node-sass` or `sass` in your project dependencies alongside `rollup-plugin-scss`** diff --git a/package.json b/package.json index de32df3..b7f1ecb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rollup-plugin-scss", - "version": "3.0.0-rc1", + "version": "3.0.0", "description": "Rollup multiple .scss, .sass and .css imports", "main": "index.cjs.js", "module": "index.es.js", @@ -38,6 +38,7 @@ }, "files": [ "index.cjs.js", + "index.d.ts", "index.es.js" ], "dependencies": { diff --git a/test/sass/rollup.config.js b/test/sass/rollup.config.js index d98c797..1385f05 100644 --- a/test/sass/rollup.config.js +++ b/test/sass/rollup.config.js @@ -7,4 +7,4 @@ export default { format: 'esm' }, plugins: [scss()] -} \ No newline at end of file +}