Compare commits

...

2 Commits

Author SHA1 Message Date
Derrick Hammer 1943684006
*Update dist 2022-12-13 05:35:46 -05:00
Derrick Hammer 8652d0f19d
*Add a function and default export 2022-12-13 05:35:26 -05:00
3 changed files with 4 additions and 0 deletions

1
dist/index.d.ts vendored
View File

@ -1,2 +1,3 @@
import type { Plugin } from "vite";
export default function bundleNativeModulesPlugin(): Plugin;
export { bundleNativeModulesPlugin };

2
dist/index.js vendored
View File

@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.bundleNativeModulesPlugin = void 0;
const ast_matcher_1 = __importDefault(require("ast-matcher"));
const magic_string_1 = __importDefault(require("magic-string"));
// @ts-ignore
@ -100,4 +101,5 @@ function bundleNativeModulesPlugin() {
};
}
exports.default = bundleNativeModulesPlugin;
exports.bundleNativeModulesPlugin = bundleNativeModulesPlugin;
//# sourceMappingURL=index.js.map

View File

@ -122,3 +122,4 @@ export default function bundleNativeModulesPlugin() {
},
} as Plugin;
}
export { bundleNativeModulesPlugin };