unplugin-auto-import
Advanced tools
Comparing version 0.1.0 to 0.1.1
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkVU24JTWBjs = require('./chunk-VU24JTWB.js'); | ||
var _chunkGZ22EFBKjs = require('./chunk-GZ22EFBK.js'); | ||
require('./chunk-HVSBRIA7.js'); | ||
exports.default = _chunkVU24JTWBjs.src_default; | ||
exports.default = _chunkGZ22EFBKjs.src_default; |
@@ -1,3 +0,7 @@ | ||
declare function export_default(this: any): void; | ||
import { Options } from './types'; | ||
import '@antfu/utils'; | ||
import '@rollup/pluginutils'; | ||
declare function export_default(this: any, options: Options): void; | ||
export { export_default as default }; |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkVU24JTWBjs = require('./chunk-VU24JTWB.js'); | ||
var _chunkGZ22EFBKjs = require('./chunk-GZ22EFBK.js'); | ||
require('./chunk-HVSBRIA7.js'); | ||
// src/nuxt.ts | ||
function nuxt_default() { | ||
function nuxt_default(options) { | ||
options.exclude = options.exclude || [/node_modules/, /\.git/, /\.nuxt/]; | ||
this.extendBuild((config) => { | ||
config.plugins = config.plugins || []; | ||
config.plugins.unshift(_chunkVU24JTWBjs.src_default.webpack()); | ||
config.plugins.unshift(_chunkGZ22EFBKjs.src_default.webpack(options)); | ||
}); | ||
this.nuxt.hook("vite:extend", async (vite) => { | ||
vite.config.plugins = vite.config.plugins || []; | ||
vite.config.plugins.push(_chunkVU24JTWBjs.src_default.vite()); | ||
vite.config.plugins.push(_chunkGZ22EFBKjs.src_default.vite(options)); | ||
}); | ||
@@ -16,0 +17,0 @@ } |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkVU24JTWBjs = require('./chunk-VU24JTWB.js'); | ||
var _chunkGZ22EFBKjs = require('./chunk-GZ22EFBK.js'); | ||
require('./chunk-HVSBRIA7.js'); | ||
// src/rollup.ts | ||
var rollup_default = _chunkVU24JTWBjs.src_default.rollup; | ||
var rollup_default = _chunkGZ22EFBKjs.src_default.rollup; | ||
@@ -9,0 +9,0 @@ |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkVU24JTWBjs = require('./chunk-VU24JTWB.js'); | ||
var _chunkGZ22EFBKjs = require('./chunk-GZ22EFBK.js'); | ||
require('./chunk-HVSBRIA7.js'); | ||
// src/vite.ts | ||
var vite_default = _chunkVU24JTWBjs.src_default.vite; | ||
var vite_default = _chunkGZ22EFBKjs.src_default.vite; | ||
@@ -9,0 +9,0 @@ |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkVU24JTWBjs = require('./chunk-VU24JTWB.js'); | ||
var _chunkGZ22EFBKjs = require('./chunk-GZ22EFBK.js'); | ||
require('./chunk-HVSBRIA7.js'); | ||
// src/webpack.ts | ||
var webpack_default = _chunkVU24JTWBjs.src_default.webpack; | ||
var webpack_default = _chunkGZ22EFBKjs.src_default.webpack; | ||
@@ -9,0 +9,0 @@ |
{ | ||
"name": "unplugin-auto-import", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Register global imports on demand for Vite and Webpack", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -5,3 +5,3 @@ # unplugin-auto-import | ||
Register global imports on demand for Vite, Rollup, and Webpack. With TypeScript supports. Powered by [unplugin](https://github.com/unjs/unplugin). | ||
Auto import APIs on-demand for Vite, Webpack and Rollup. With TypeScript supports. Powered by [unplugin](https://github.com/unjs/unplugin). | ||
@@ -8,0 +8,0 @@ ```html |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
27759
700
0
1