vite-plugin-vuetify
Advanced tools
Comparing version 1.0.0-alpha.11 to 1.0.0-alpha.12
@@ -13,3 +13,3 @@ "use strict"; | ||
} | ||
const styleImportRegexp = /@use ['"]vuetify(\/lib)?\/styles(\/main(\.sass)?)?['"]/; | ||
const styleImportRegexp = /(@use |meta\.load-css\()['"](vuetify(?:\/lib)?\/styles(?:\/main(?:\.sass)?)?)['"]/; | ||
function stylesPlugin(options) { | ||
@@ -134,3 +134,3 @@ const vuetifyBase = path.dirname(require.resolve('vuetify/package.json')); | ||
debug(`returning ${id}`); | ||
return code.replace(styleImportRegexp, '@use ".cache/vuetify/styles.scss"'); | ||
return code.replace(styleImportRegexp, '$1".cache/vuetify/styles.scss"'); | ||
} | ||
@@ -137,0 +137,0 @@ }, |
{ | ||
"name": "vite-plugin-vuetify", | ||
"version": "1.0.0-alpha.11", | ||
"version": "1.0.0-alpha.12", | ||
"description": "A Vite plugin for treeshaking Vuetify components and more", | ||
@@ -22,3 +22,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@vuetify/loader-shared": "^1.4.0", | ||
"@vuetify/loader-shared": "^1.5.0", | ||
"debug": "^4.3.3" | ||
@@ -28,3 +28,3 @@ }, | ||
"vite": "^2.7.0", | ||
"vuetify": "^3.0.0-alpha.11" | ||
"vuetify": "^3.0.0-beta.4" | ||
}, | ||
@@ -39,3 +39,4 @@ "engines": { | ||
"access": "public" | ||
} | ||
}, | ||
"gitHead": "b3ffbb3c611dc865302fd67c35ca3a126bb2c0df" | ||
} |
@@ -1,2 +0,2 @@ | ||
# @vuetify/vite-plugin | ||
# vite-plugin-vuetify | ||
@@ -3,0 +3,0 @@ <div align="center"> |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
25001
13
0