babel-plugin-transform-scss-uxtx
Advanced tools
Comparing version 1.0.13 to 1.0.14
const {resolve, dirname, join} = require("path"); | ||
const {renderSync} = require("node-sass"); | ||
const nodeSassImportOnce = require("node-sass-import-once") | ||
const nodeSassOnceImporter = require("node-sass-once-importer") | ||
@@ -54,7 +54,3 @@ const regexps = { | ||
includePaths: [nodeModulesPath, scssFileDirectory, projectRoot], | ||
importer: [nodeSassImportOnce], | ||
importOnce: { | ||
css: true, | ||
bower: false | ||
} | ||
importer: nodeSassOnceImporter() | ||
}; | ||
@@ -61,0 +57,0 @@ const sassResult = renderSync({...sassDefaults, ...state.opts}); |
{ | ||
"name": "babel-plugin-transform-scss-uxtx", | ||
"version": "1.0.13", | ||
"version": "1.0.14", | ||
"description": "Babel plugin for transpile scss or sass imports to css and embedding them in the head of the document", | ||
@@ -33,3 +33,3 @@ "main": "lib/index.js", | ||
"node-sass": "^4.14.1", | ||
"node-sass-import-once": "^1.2.0" | ||
"node-sass-once-importer": "^5.3.2" | ||
}, | ||
@@ -39,4 +39,5 @@ "dependencies": { | ||
"node-sass-import-once": "^1.2.0", | ||
"node-sass-once-importer": "^5.3.2", | ||
"path": "^0.12.7" | ||
} | ||
} |
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
10156
7
192
+ Addedbraces@3.0.3(transitive)
+ Addedcamel-case@3.0.0(transitive)
+ Addedchalk@2.4.2(transitive)
+ Addedchange-case@3.1.0(transitive)
+ Addedconstant-case@2.0.0(transitive)
+ Addedcss-node-extract@2.1.3(transitive)
+ Addedcss-selector-extract@3.3.6(transitive)
+ Addeddetect-file@1.0.0(transitive)
+ Addeddot-case@2.1.1(transitive)
+ Addedexpand-tilde@2.0.2(transitive)
+ Addedfill-range@7.1.1(transitive)
+ Addedfindup-sync@4.0.0(transitive)
+ Addedglobal-modules@1.0.0(transitive)
+ Addedglobal-prefix@1.0.2(transitive)
+ Addedhas-flag@3.0.0(transitive)
+ Addedheader-case@1.0.1(transitive)
+ Addedhomedir-polyfill@1.0.3(transitive)
+ Addedini@1.3.8(transitive)
+ Addedis-extglob@2.1.1(transitive)
+ Addedis-glob@4.0.3(transitive)
+ Addedis-lower-case@1.1.3(transitive)
+ Addedis-number@7.0.0(transitive)
+ Addedis-upper-case@1.1.2(transitive)
+ Addedis-windows@1.0.2(transitive)
+ Addedlower-case@1.1.4(transitive)
+ Addedlower-case-first@1.0.2(transitive)
+ Addedmicromatch@4.0.8(transitive)
+ Addednanoid@3.3.8(transitive)
+ Addedno-case@2.3.2(transitive)
+ Addednode-sass-magic-importer@5.3.3(transitive)
+ Addednode-sass-once-importer@5.3.3(transitive)
+ Addedobject-hash@2.2.0(transitive)
+ Addedparam-case@2.1.1(transitive)
+ Addedparse-passwd@1.0.0(transitive)
+ Addedpascal-case@2.0.1(transitive)
+ Addedpath-case@2.1.1(transitive)
+ Addedpicocolors@1.1.1(transitive)
+ Addedpicomatch@2.3.1(transitive)
+ Addedpostcss@6.0.238.4.49(transitive)
+ Addedpostcss-scss@3.0.5(transitive)
+ Addedresolve-dir@1.0.1(transitive)
+ Addedsentence-case@2.1.1(transitive)
+ Addedsnake-case@2.1.0(transitive)
+ Addedsource-map@0.6.1(transitive)
+ Addedsource-map-js@1.2.1(transitive)
+ Addedsupports-color@5.5.0(transitive)
+ Addedswap-case@1.1.2(transitive)
+ Addedtitle-case@2.1.1(transitive)
+ Addedto-regex-range@5.0.1(transitive)
+ Addedupper-case@1.1.3(transitive)
+ Addedupper-case-first@1.1.2(transitive)