vite-plugin-utils
Advanced tools
Comparing version 0.3.1 to 0.3.2
export declare const DEFAULT_EXTENSIONS: string[]; | ||
export declare const KNOWN_SFC_EXTENSIONS: string[]; | ||
export declare const KNOWN_ASSET_TYPES: string[]; | ||
export declare const KNOWN_CSS_TYPES: string[]; | ||
export declare const multilineCommentsRE: RegExp; | ||
export declare const singlelineCommentsRE: RegExp; |
@@ -46,3 +46,15 @@ // https://github.com/vitejs/vite/blob/c3f6731bafeadd310efa4325cb8dcc639636fe48/packages/vite/src/node/constants.ts#L25-L33 | ||
]; | ||
// https://github.com/vitejs/vite/blob/29292af23fd7bc498056a7c048cac9b3bca3303d/packages/vite/src/node/optimizer/esbuildDepPlugin.ts#L20-L29 | ||
export const KNOWN_CSS_TYPES = [ | ||
'css', | ||
// supported pre-processor types | ||
'less', | ||
'sass', | ||
'scss', | ||
'styl', | ||
'stylus', | ||
'pcss', | ||
'postcss', | ||
]; | ||
export const multilineCommentsRE = /\/\*(.|[\r\n])*?\*\//gm; | ||
export const singlelineCommentsRE = /\/\/.*/g; |
{ | ||
"name": "vite-plugin-utils", | ||
"description": "A collection of opinionated Vite plugin utils", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"type": "module", | ||
@@ -6,0 +6,0 @@ "main": "", |
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
22511
638