@vanilla-extract/integration
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -5,2 +5,3 @@ 'use strict'; | ||
var path = require('path'); | ||
var adapter = require('@vanilla-extract/css/adapter'); | ||
@@ -13,3 +14,2 @@ var transformCss = require('@vanilla-extract/css/transformCss'); | ||
var crypto = require('crypto'); | ||
var path = require('path'); | ||
var findUp = require('find-up'); | ||
@@ -21,2 +21,3 @@ var fs = require('fs'); | ||
var path__default = /*#__PURE__*/_interopDefault(path); | ||
var evalCode__default = /*#__PURE__*/_interopDefault(evalCode); | ||
@@ -26,3 +27,2 @@ var isPlainObject__default = /*#__PURE__*/_interopDefault(isPlainObject); | ||
var crypto__default = /*#__PURE__*/_interopDefault(crypto); | ||
var path__default = /*#__PURE__*/_interopDefault(path); | ||
var findUp__default = /*#__PURE__*/_interopDefault(findUp); | ||
@@ -95,3 +95,3 @@ | ||
const base64Source = Buffer.from(css, 'utf-8').toString('base64'); | ||
const fileName = `${filescope.packageName ? `${filescope.packageName}/${filescope.filePath}` : filescope.filePath}.vanilla.css`; | ||
const fileName = path__default['default'].normalize(`${filescope.packageName ? `${filescope.packageName}/${filescope.filePath}` : filescope.filePath}.vanilla.css`); | ||
const virtualCssFilePath = serializeVirtualCssPath ? serializeVirtualCssPath({ | ||
@@ -98,0 +98,0 @@ fileName, |
@@ -5,2 +5,3 @@ 'use strict'; | ||
var path = require('path'); | ||
var adapter = require('@vanilla-extract/css/adapter'); | ||
@@ -13,3 +14,2 @@ var transformCss = require('@vanilla-extract/css/transformCss'); | ||
var crypto = require('crypto'); | ||
var path = require('path'); | ||
var findUp = require('find-up'); | ||
@@ -21,2 +21,3 @@ var fs = require('fs'); | ||
var path__default = /*#__PURE__*/_interopDefault(path); | ||
var evalCode__default = /*#__PURE__*/_interopDefault(evalCode); | ||
@@ -26,3 +27,2 @@ var isPlainObject__default = /*#__PURE__*/_interopDefault(isPlainObject); | ||
var crypto__default = /*#__PURE__*/_interopDefault(crypto); | ||
var path__default = /*#__PURE__*/_interopDefault(path); | ||
var findUp__default = /*#__PURE__*/_interopDefault(findUp); | ||
@@ -95,3 +95,3 @@ | ||
const base64Source = Buffer.from(css, 'utf-8').toString('base64'); | ||
const fileName = `${filescope.packageName ? `${filescope.packageName}/${filescope.filePath}` : filescope.filePath}.vanilla.css`; | ||
const fileName = path__default['default'].normalize(`${filescope.packageName ? `${filescope.packageName}/${filescope.filePath}` : filescope.filePath}.vanilla.css`); | ||
const virtualCssFilePath = serializeVirtualCssPath ? serializeVirtualCssPath({ | ||
@@ -98,0 +98,0 @@ fileName, |
@@ -0,1 +1,2 @@ | ||
import path, { relative, dirname, join } from 'path'; | ||
import { setAdapter } from '@vanilla-extract/css/adapter'; | ||
@@ -8,3 +9,2 @@ import { transformCss } from '@vanilla-extract/css/transformCss'; | ||
import crypto from 'crypto'; | ||
import path, { relative, dirname, join } from 'path'; | ||
import findUp from 'find-up'; | ||
@@ -79,3 +79,3 @@ import { promises } from 'fs'; | ||
const base64Source = Buffer.from(css, 'utf-8').toString('base64'); | ||
const fileName = `${filescope.packageName ? `${filescope.packageName}/${filescope.filePath}` : filescope.filePath}.vanilla.css`; | ||
const fileName = path.normalize(`${filescope.packageName ? `${filescope.packageName}/${filescope.filePath}` : filescope.filePath}.vanilla.css`); | ||
const virtualCssFilePath = serializeVirtualCssPath ? serializeVirtualCssPath({ | ||
@@ -82,0 +82,0 @@ fileName, |
{ | ||
"name": "@vanilla-extract/integration", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Zero-runtime Stylesheets-in-TypeScript", | ||
@@ -5,0 +5,0 @@ "main": "dist/vanilla-extract-integration.cjs.js", |
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
28189
15