@ripple-ts/vite-plugin 0.2.176 → 0.2.178
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 +2 -2
- package/src/index.js +1 -4
- package/types/index.d.ts +8 -2
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Vite plugin for Ripple",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Dominic Gannaway",
|
|
6
|
-
"version": "0.2.
|
|
6
|
+
"version": "0.2.178",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"module": "src/index.js",
|
|
9
9
|
"main": "src/index.js",
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"type-fest": "^5.1.0",
|
|
28
28
|
"vite": "^7.1.9",
|
|
29
|
-
"ripple": "0.2.
|
|
29
|
+
"ripple": "0.2.178"
|
|
30
30
|
}
|
|
31
31
|
}
|
package/src/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** @import {PackageJson} from 'type-fest' */
|
|
2
2
|
/** @import {Plugin, ResolvedConfig} from 'vite' */
|
|
3
|
-
/** @
|
|
3
|
+
/** @import {RipplePluginOptions} from '@ripple-ts/vite-plugin' */
|
|
4
4
|
|
|
5
5
|
import { compile } from 'ripple/compiler';
|
|
6
6
|
import fs from 'node:fs';
|
|
@@ -262,9 +262,6 @@ export function ripple(inlineOptions = {}) {
|
|
|
262
262
|
|
|
263
263
|
async config(userConfig) {
|
|
264
264
|
if (excludeRippleExternalModules) {
|
|
265
|
-
console.log(
|
|
266
|
-
'[@ripple-ts/vite-plugin] Skipping node_modules scan (excludeRippleExternalModules is set to true)',
|
|
267
|
-
);
|
|
268
265
|
return {
|
|
269
266
|
optimizeDeps: {
|
|
270
267
|
exclude: userConfig.optimizeDeps?.exclude || [],
|
package/types/index.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import type { Plugin } from 'vite';
|
|
2
|
+
|
|
3
|
+
declare module '@ripple-ts/vite-plugin' {
|
|
4
|
+
export function ripple(options?: RipplePluginOptions): Plugin[];
|
|
5
|
+
|
|
6
|
+
export interface RipplePluginOptions {
|
|
7
|
+
excludeRippleExternalModules?: boolean;
|
|
8
|
+
}
|
|
3
9
|
}
|