rollup-plugin-sass
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -10,3 +10,3 @@ 'use strict'; | ||
var path = require('path'); | ||
var fs$1 = require('fs'); | ||
var fs = require('fs'); | ||
var nodeSass = require('node-sass'); | ||
@@ -13,0 +13,0 @@ var util = require('util'); |
@@ -6,3 +6,3 @@ import _regeneratorRuntime from 'babel-runtime/regenerator'; | ||
import { dirname } from 'path'; | ||
import 'fs'; | ||
import { writeFile } from 'fs'; | ||
import { renderSync } from 'node-sass'; | ||
@@ -81,3 +81,3 @@ import { isFunction, isString } from 'util'; | ||
_context.next = 10; | ||
return fs.writeFile(options.output, css); | ||
return writeFile(options.output, css); | ||
@@ -84,0 +84,0 @@ case 10: |
{ | ||
"name": "rollup-plugin-sass", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Rollup .sass files.", | ||
@@ -5,0 +5,0 @@ "main": "dist/rollup-plugin-sass.cjs.js", |
@@ -35,3 +35,3 @@ import { dirname } from 'path'; | ||
if (isString(options.output)) { | ||
return await fs.writeFile(options.output, css); | ||
return await writeFile(options.output, css); | ||
} else { | ||
@@ -38,0 +38,0 @@ if (isFunction(options.output)) { |
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
17996