Socket
Book a DemoInstallSign in
Socket

unplugin-raw

Package Overview
Dependencies
Maintainers
4
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unplugin-raw - npm Package Compare versions

Comparing version

to
0.4.2

23

dist/esbuild.d.ts

@@ -6,4 +6,23 @@ import unplugin from './index.js';

declare const _default: typeof unplugin.esbuild;
/**
* This entry file is for esbuild plugin. Requires esbuild >= 0.15
*
* @module
*/
export { _default as default };
/**
* Esbuild plugin
*
* @example
* ```ts
* // esbuild.config.js
* import { build } from 'esbuild'
*
* build({
* plugins: [require('unplugin-raw/esbuild')()],
* })
* ```
*/
declare const esbuild: typeof unplugin.esbuild;
export { esbuild as 'module.exports', esbuild as default };
import { src_default } from "./src-AICy7ULA.js";
//#region src/esbuild.ts
var esbuild_default = src_default.esbuild;
/**
* Esbuild plugin
*
* @example
* ```ts
* // esbuild.config.js
* import { build } from 'esbuild'
*
* build({
* plugins: [require('unplugin-raw/esbuild')()],
* })
* ```
*/
const esbuild = src_default.esbuild;
var esbuild_default = esbuild;
//#endregion
export { esbuild_default as default };
export { esbuild_default as default, esbuild as 'module.exports' };

@@ -6,4 +6,23 @@ import unplugin from './index.js';

declare const _default: typeof unplugin.rolldown;
/**
* This entry file is for Rolldown plugin.
*
* @module
*/
export { _default as default };
/**
* Rolldown plugin
*
* @example
* ```ts
* // rolldown.config.js
* import Raw from 'unplugin-raw/rolldown'
*
* export default {
* plugins: [Raw()],
* }
* ```
*/
declare const rolldown: typeof unplugin.rolldown;
export { rolldown as 'module.exports', rolldown as default };
import { src_default } from "./src-AICy7ULA.js";
//#region src/rolldown.ts
var rolldown_default = src_default.rolldown;
/**
* Rolldown plugin
*
* @example
* ```ts
* // rolldown.config.js
* import Raw from 'unplugin-raw/rolldown'
*
* export default {
* plugins: [Raw()],
* }
* ```
*/
const rolldown = src_default.rolldown;
var rolldown_default = rolldown;
//#endregion
export { rolldown_default as default };
export { rolldown_default as default, rolldown as 'module.exports' };

@@ -6,4 +6,23 @@ import unplugin from './index.js';

declare const _default: typeof unplugin.rollup;
/**
* This entry file is for Rollup plugin.
*
* @module
*/
export { _default as default };
/**
* Rollup plugin
*
* @example
* ```ts
* // rollup.config.js
* import Raw from 'unplugin-raw/rollup'
*
* export default {
* plugins: [Raw()],
* }
* ```
*/
declare const rollup: typeof unplugin.rollup;
export { rollup as 'module.exports', rollup as default };
import { src_default } from "./src-AICy7ULA.js";
//#region src/rollup.ts
var rollup_default = src_default.rollup;
/**
* Rollup plugin
*
* @example
* ```ts
* // rollup.config.js
* import Raw from 'unplugin-raw/rollup'
*
* export default {
* plugins: [Raw()],
* }
* ```
*/
const rollup = src_default.rollup;
var rollup_default = rollup;
//#endregion
export { rollup_default as default };
export { rollup_default as default, rollup as 'module.exports' };

@@ -6,4 +6,21 @@ import unplugin from './index.js';

declare const _default: typeof unplugin.rspack;
/**
* This entry file is for rspack plugin.
*
* @module
*/
export { _default as default };
/**
* Rspack plugin
*
* @example
* ```ts
* // rspack.config.js
* module.exports = {
* plugins: [require('unplugin-raw/rspack')()],
* }
* ```
*/
declare const rspack: typeof unplugin.rspack;
export { rspack as 'module.exports', rspack as default };
import { src_default } from "./src-AICy7ULA.js";
//#region src/rspack.ts
var rspack_default = src_default.rspack;
/**
* Rspack plugin
*
* @example
* ```ts
* // rspack.config.js
* module.exports = {
* plugins: [require('unplugin-raw/rspack')()],
* }
* ```
*/
const rspack = src_default.rspack;
var rspack_default = rspack;
//#endregion
export { rspack_default as default };
export { rspack_default as default, rspack as 'module.exports' };

@@ -6,4 +6,23 @@ import unplugin from './index.js';

declare const _default: typeof unplugin.vite;
/**
* This entry file is for Vite plugin.
*
* @module
*/
export { _default as default };
/**
* Vite plugin
*
* @example
* ```ts
* // vite.config.ts
* import Raw from 'unplugin-raw/vite'
*
* export default defineConfig({
* plugins: [Raw()],
* })
* ```
*/
declare const vite: typeof unplugin.vite;
export { vite as 'module.exports', vite as default };
import { src_default } from "./src-AICy7ULA.js";
//#region src/vite.ts
var vite_default = src_default.vite;
/**
* Vite plugin
*
* @example
* ```ts
* // vite.config.ts
* import Raw from 'unplugin-raw/vite'
*
* export default defineConfig({
* plugins: [Raw()],
* })
* ```
*/
const vite = src_default.vite;
var vite_default = vite;
//#endregion
export { vite_default as default };
export { vite_default as default, vite as 'module.exports' };

@@ -6,4 +6,21 @@ import unplugin from './index.js';

declare const _default: typeof unplugin.webpack;
/**
* This entry file is for webpack plugin.
*
* @module
*/
export { _default as default };
/**
* Webpack plugin
*
* @example
* ```ts
* // webpack.config.js
* module.exports = {
* plugins: [require('unplugin-raw/webpack')()],
* }
* ```
*/
declare const webpack: typeof unplugin.webpack;
export { webpack as 'module.exports', webpack as default };
import { src_default } from "./src-AICy7ULA.js";
//#region src/webpack.ts
var webpack_default = src_default.webpack;
/**
* Webpack plugin
*
* @example
* ```ts
* // webpack.config.js
* module.exports = {
* plugins: [require('unplugin-raw/webpack')()],
* }
* ```
*/
const webpack = src_default.webpack;
var webpack_default = webpack;
//#endregion
export { webpack_default as default };
export { webpack_default as default, webpack as 'module.exports' };

4

package.json
{
"name": "unplugin-raw",
"version": "0.4.1",
"version": "0.4.2",
"description": "Transform file to a default-export string.",

@@ -22,3 +22,3 @@ "type": "module",

},
"author": "三咲智子 <sxzz@sxzz.moe>",
"author": "三咲智子 Kevin Deng <sxzz@sxzz.moe>",
"files": [

@@ -25,0 +25,0 @@ "dist"