1.3.1 • Published 10 days ago
vite-string-plugin v1.3.1
vite-string-plugin
Vite plugin to import files as string, with zero dependencies
Usage
vitest.config.js
import {defineConfig} from "vite";
import {stringPlugin} from "vite-string-plugin";
export default defineConfig({
plugins: [
stringPlugin(),
],
});
file.js
import foo from "./foo.svg";
Options
match
: Regex to match the path against. Default:/\.(svg|md|xml)$/i
.
1.3.1
10 days ago
1.3.0
13 days ago
1.2.0
29 days ago
1.1.5
3 months ago
1.1.4
3 months ago
1.1.3
4 months ago
1.1.2
10 months ago
1.1.1
10 months ago
1.1.0
10 months ago
1.0.10
10 months ago
1.0.9
10 months ago
1.0.8
10 months ago
1.0.7
10 months ago
1.0.6
10 months ago
1.0.5
10 months ago
1.0.4
10 months ago
1.0.3
10 months ago
1.0.2
10 months ago
1.0.1
10 months ago
1.0.0
10 months ago
0.1.0
10 months ago