diff --git a/webIndex.ts b/webIndex.ts index 0cd0eba..f897338 100644 --- a/webIndex.ts +++ b/webIndex.ts @@ -1,8 +1,8 @@ -import * as arbundlesSrc from "./src"; +import * as bundlesSrc from "./src"; import * as stream from "./src/stream"; -const expObj = { ...arbundlesSrc, stream }; -globalThis.arbundles ??= expObj; +const expObj = { ...bundlesSrc, stream }; +globalThis.bundles ??= expObj; export * from "./src/index"; export * from "./src/stream"; export default expObj; -export const arbundles = expObj; +export const bundles = expObj; diff --git a/webpack.config.js b/webpack.config.js index 5f86f8e..e9369ae 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -55,6 +55,6 @@ module.exports = { filename: "bundle.js", path: path.resolve(__dirname, "./build/web/"), libraryTarget: "umd", - library: "Arbundles", + library: "bundles", }, };