vaderjs 1.3.3-alpha-86 → 1.3.3-alpha-87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/vader.js +2 -1
package/package.json
CHANGED
package/vader.js
CHANGED
|
@@ -614,6 +614,7 @@ function Compiler(func, file) {
|
|
|
614
614
|
let newImport = ''
|
|
615
615
|
let name = match.split('import')[1].split('from')[0].trim()
|
|
616
616
|
|
|
617
|
+
console.log(path)
|
|
617
618
|
switch (true) {
|
|
618
619
|
case path && path.includes('json'):
|
|
619
620
|
path = path.replace(';', '')
|
|
@@ -634,7 +635,7 @@ function Compiler(func, file) {
|
|
|
634
635
|
string = string.replace(beforeimport, newImport)
|
|
635
636
|
break;
|
|
636
637
|
case path && path.includes('.css'):
|
|
637
|
-
|
|
638
|
+
string = string.replace(beforeimport, '')
|
|
638
639
|
break;
|
|
639
640
|
default:
|
|
640
641
|
let beforePath = path
|