unplugin-auto-import
Advanced tools
Comparing version 0.1.7 to 0.2.0
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkG7WHTJIFjs = require('./chunk-G7WHTJIF.js'); | ||
var _chunkGLANZDAXjs = require('./chunk-GLANZDAX.js'); | ||
require('./chunk-U6Z5VRX4.js'); | ||
exports.default = _chunkG7WHTJIFjs.src_default; | ||
exports.default = _chunkGLANZDAXjs.src_default; |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkG7WHTJIFjs = require('./chunk-G7WHTJIF.js'); | ||
var _chunkGLANZDAXjs = require('./chunk-GLANZDAX.js'); | ||
require('./chunk-U6Z5VRX4.js'); | ||
@@ -11,7 +11,7 @@ | ||
config.plugins = config.plugins || []; | ||
config.plugins.unshift(_chunkG7WHTJIFjs.src_default.webpack(options)); | ||
config.plugins.unshift(_chunkGLANZDAXjs.src_default.webpack(options)); | ||
}); | ||
this.nuxt.hook("vite:extend", async (vite) => { | ||
vite.config.plugins = vite.config.plugins || []; | ||
vite.config.plugins.push(_chunkG7WHTJIFjs.src_default.vite(options)); | ||
vite.config.plugins.push(_chunkGLANZDAXjs.src_default.vite(options)); | ||
}); | ||
@@ -18,0 +18,0 @@ } |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkG7WHTJIFjs = require('./chunk-G7WHTJIF.js'); | ||
var _chunkGLANZDAXjs = require('./chunk-GLANZDAX.js'); | ||
require('./chunk-U6Z5VRX4.js'); | ||
// src/rollup.ts | ||
var rollup_default = _chunkG7WHTJIFjs.src_default.rollup; | ||
var rollup_default = _chunkGLANZDAXjs.src_default.rollup; | ||
@@ -9,0 +9,0 @@ |
@@ -52,2 +52,8 @@ import { Arrayable } from '@antfu/utils'; | ||
exclude?: FilterPattern; | ||
/** | ||
* Generate source map. | ||
* | ||
* @default false | ||
*/ | ||
sourceMap?: boolean; | ||
} | ||
@@ -57,2 +63,8 @@ interface TransformOptions { | ||
matchRE: RegExp; | ||
/** | ||
* Generate source map. | ||
* | ||
* @default false | ||
*/ | ||
sourceMap?: boolean; | ||
} | ||
@@ -59,0 +71,0 @@ interface ResolvedOptions extends Omit<Options, 'imports'>, TransformOptions { |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkG7WHTJIFjs = require('./chunk-G7WHTJIF.js'); | ||
var _chunkGLANZDAXjs = require('./chunk-GLANZDAX.js'); | ||
require('./chunk-U6Z5VRX4.js'); | ||
// src/vite.ts | ||
var vite_default = _chunkG7WHTJIFjs.src_default.vite; | ||
var vite_default = _chunkGLANZDAXjs.src_default.vite; | ||
@@ -9,0 +9,0 @@ |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkG7WHTJIFjs = require('./chunk-G7WHTJIF.js'); | ||
var _chunkGLANZDAXjs = require('./chunk-GLANZDAX.js'); | ||
require('./chunk-U6Z5VRX4.js'); | ||
// src/webpack.ts | ||
var webpack_default = _chunkG7WHTJIFjs.src_default.webpack; | ||
var webpack_default = _chunkGLANZDAXjs.src_default.webpack; | ||
@@ -9,0 +9,0 @@ |
{ | ||
"name": "unplugin-auto-import", | ||
"version": "0.1.7", | ||
"version": "0.2.0", | ||
"description": "Register global imports on demand for Vite and Webpack", | ||
@@ -63,3 +63,3 @@ "keywords": [ | ||
"magic-string": "^0.25.7", | ||
"unplugin": "^0.2.0" | ||
"unplugin": "^0.2.1" | ||
}, | ||
@@ -81,3 +81,3 @@ "devDependencies": { | ||
"tsup": "^4.14.0", | ||
"typescript": "^4.3.5", | ||
"typescript": "^4.4.2", | ||
"vite": "^2.5.1", | ||
@@ -84,0 +84,0 @@ "webpack": "^5.51.1" |
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
30050
778
Updatedunplugin@^0.2.1