rollup-plugin-bundle-scss
Advanced tools
Comparing version 0.0.1 to 0.1.0
@@ -10,3 +10,3 @@ 'use strict'; | ||
function bundleScss({ output }) { | ||
function bundleScss({ output } = {}) { | ||
const files = []; | ||
@@ -13,0 +13,0 @@ return { |
@@ -6,3 +6,3 @@ import { promises as fs } from 'fs'; | ||
export default function bundleScss({ output }) { | ||
export default function bundleScss({ output } = {}) { | ||
const files = []; | ||
@@ -9,0 +9,0 @@ return { |
{ | ||
"name": "rollup-plugin-bundle-scss", | ||
"version": "0.0.1", | ||
"version": "0.1.0", | ||
"description": "Rollup .scss imports into one bundled .scss file", | ||
@@ -13,4 +13,5 @@ "main": "dist/index.js", | ||
"build": "rollup -f cjs -i index.js -o dist/index.js", | ||
"lint": "eslint index.js", | ||
"test": "npm run lint", | ||
"lint": "eslint index.js test/test.js", | ||
"unit": "jest", | ||
"test": "npm run lint && npm run unit", | ||
"preversion": "npm test", | ||
@@ -39,3 +40,3 @@ "version": "npm run build && git add -A dist", | ||
"dependencies": { | ||
"scss-bundle": "0.0.0-canary.048dc82", | ||
"scss-bundle": "^3.0.2", | ||
"vue-template-compiler": "^2.6.10" | ||
@@ -47,4 +48,7 @@ }, | ||
"eslint-plugin-import": "^2.18.2", | ||
"rollup": "^1.25.2" | ||
"jest": "^24.9.0", | ||
"rollup": "^1.27.0", | ||
"rollup-plugin-commonjs": "^10.1.0", | ||
"rollup-plugin-vue": "^5.1.2" | ||
} | ||
} |
# rollup-plugin-bundle-scss | ||
[![GitHub Action](https://github.com/weizhenye/rollup-plugin-bundle-scss/workflows/Node%20CI/badge.svg)](https://github.com/weizhenye/rollup-plugin-bundle-scss/actions?query=workflow%3A%22Node+CI%22) | ||
[![Node version](https://badgen.net/npm/node/rollup-plugin-bundle-scss?icon=https://simpleicons.now.sh/node-dot-js/fff)](https://nodejs.org) | ||
@@ -7,4 +8,2 @@ [![NPM version](https://badgen.net/npm/v/rollup-plugin-bundle-scss?icon=npm)](https://www.npmjs.com/package/rollup-plugin-bundle-scss) | ||
**WIP** | ||
Rollup .scss imports into one bundled .scss file. Supports .vue files. | ||
@@ -29,3 +28,3 @@ | ||
file: 'dist/index.js', | ||
format: 'umd', | ||
format: 'esm', | ||
}, | ||
@@ -49,6 +48,6 @@ plugins: [ | ||
export default { | ||
input: 'src/index.js', | ||
input: 'src/App.vue', | ||
output: { | ||
file: 'dist/index.js', | ||
format: 'umd', | ||
format: 'esm', | ||
}, | ||
@@ -55,0 +54,0 @@ plugins: [ |
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
7376
7
60
+ Addedansi-styles@4.3.0(transitive)
+ Addedchalk@3.0.0(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedcommander@4.1.1(transitive)
+ Addedhas-flag@4.0.0(transitive)
+ Addedscss-bundle@3.1.2(transitive)
+ Addedsupports-color@7.2.0(transitive)
- Removedansi-styles@3.2.1(transitive)
- Removedchalk@2.4.2(transitive)
- Removedcolor-convert@1.9.3(transitive)
- Removedcolor-name@1.1.3(transitive)
- Removedcommander@3.0.2(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedhas-flag@3.0.0(transitive)
- Removedscss-bundle@0.0.0-canary.048dc82(transitive)
- Removedsupports-color@5.5.0(transitive)
Updatedscss-bundle@^3.0.2