rollup-plugin-sass
Advanced tools
Comparing version 1.2.13 to 1.2.14
@@ -78,3 +78,4 @@ "use strict"; | ||
const outCss = result.css; | ||
const restExports = Object.keys(result).reduce((agg, name) => name === 'css' ? agg : agg + `export const ${name} = ${JSON.stringify(result[name])};\n`, ''); | ||
delete result.css; | ||
const restExports = Object.keys(result).reduce((agg, name) => agg + `export const ${name} = ${JSON.stringify(result[name])};\n`, ''); | ||
return [outCss, restExports]; | ||
@@ -81,0 +82,0 @@ }) |
{ | ||
"name": "rollup-plugin-sass", | ||
"version": "1.2.13", | ||
"version": "1.2.14", | ||
"description": "Rollup Sass files.", | ||
@@ -39,4 +39,4 @@ "main": "dist/index.js", | ||
"author": "BinRui.Guan <differui@gmail.com>", | ||
"contributors": [ | ||
"elycruz <elycruz@elycruz.com> (https://github.com/elycruz)" | ||
"maintainers": [ | ||
"elycruz <elycruz-at-elycruz.com> (https://github.com/elycruz)" | ||
], | ||
@@ -74,4 +74,6 @@ "license": "MIT", | ||
"eslint": "^7.32.0", | ||
"icss-utils": "^5.1.0", | ||
"jsdom": "^17.0.0", | ||
"nyc": "^15.1.0", | ||
"postcss": "^8.4.16", | ||
"rollup": "^1.32.1", | ||
@@ -78,0 +80,0 @@ "sinon": "^7.2.2", |
@@ -1,2 +0,2 @@ | ||
rollup-plugin-sass [![CircleCI](https://img.shields.io/circleci/project/github/differui/rollup-plugin-sass/master.svg?style=flat-square)](https://circleci.com/gh/differui/rollup-plugin-sass) [![issues](https://img.shields.io/github/issues/differui/rollup-plugin-sass.svg?style=flat-square)](https://www.npmjs.com/package/rollup-plugin-sass) [![npm](https://img.shields.io/npm/v/rollup-plugin-sass.svg?style=flat-square)](https://www.npmjs.com/package/rollup-plugin-sass) [![mit](https://img.shields.io/npm/l/rollup-plugin-sass.svg?style=flat-square)](https://opensource.org/licenses/MIT) [![Coverage Status](https://coveralls.io/repos/github/differui/rollup-plugin-sass/badge.svg?branch=master)](https://coveralls.io/github/differui/rollup-plugin-sass?branch=master) | ||
rollup-plugin-sass [![Build and Test](https://github.com/elycruz/rollup-plugin-sass/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/elycruz/rollup-plugin-sass/actions/workflows/build-and-test.yml)[![CircleCI](https://img.shields.io/circleci/project/github/differui/rollup-plugin-sass/master.svg?style=flat-square)](https://circleci.com/gh/differui/rollup-plugin-sass) [![issues](https://img.shields.io/github/issues/differui/rollup-plugin-sass.svg?style=flat-square)](https://www.npmjs.com/package/rollup-plugin-sass) [![npm](https://img.shields.io/npm/v/rollup-plugin-sass.svg?style=flat-square)](https://www.npmjs.com/package/rollup-plugin-sass) [![mit](https://img.shields.io/npm/l/rollup-plugin-sass.svg?style=flat-square)](https://opensource.org/licenses/MIT) [![Coverage Status](https://coveralls.io/repos/github/differui/rollup-plugin-sass/badge.svg?branch=master)](https://coveralls.io/github/differui/rollup-plugin-sass?branch=master) | ||
===== | ||
@@ -160,2 +160,3 @@ | ||
MIT © [BinRui.Guan](mailto:differui@gmail.com) | ||
[MIT](./LICENSE) [elycruz](https://github.com/elycruz), | ||
[BinRui.Guan](mailto:differui@gmail.com) |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28761
275
162
17