adnbn 0.5.6 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/builders/app/command.d.ts +3 -6
- package/dist/cli/builders/app/index.d.ts +2 -14
- package/dist/cli/builders/locale/FirefoxLocaleValidator.d.ts +4 -7
- package/dist/cli/builders/locale/LocaleBuilder.d.ts +3 -6
- package/dist/cli/builders/locale/LocaleBuilder.js +3 -1
- package/dist/cli/builders/locale/LocaleBuilder.js.map +1 -1
- package/dist/cli/builders/locale/LocaleStructureValidator.d.ts +8 -0
- package/dist/cli/builders/locale/LocaleStructureValidator.js +64 -0
- package/dist/cli/builders/locale/LocaleStructureValidator.js.map +1 -0
- package/dist/cli/builders/locale/LocaleValidator.d.ts +4 -7
- package/dist/cli/builders/locale/LocaleValidator.js +2 -0
- package/dist/cli/builders/locale/LocaleValidator.js.map +1 -1
- package/dist/cli/builders/locale/OperaLocaleValidator.d.ts +4 -7
- package/dist/cli/builders/locale/index.d.ts +10 -19
- package/dist/cli/builders/locale/index.js +2 -0
- package/dist/cli/builders/locale/index.js.map +1 -1
- package/dist/cli/builders/manifest/ManifestBase.d.ts +30 -18
- package/dist/cli/builders/manifest/ManifestBase.js +212 -70
- package/dist/cli/builders/manifest/ManifestBase.js.map +1 -1
- package/dist/cli/builders/manifest/ManifestV2.d.ts +5 -12
- package/dist/cli/builders/manifest/ManifestV2.js +8 -7
- package/dist/cli/builders/manifest/ManifestV2.js.map +1 -1
- package/dist/cli/builders/manifest/ManifestV3.d.ts +5 -12
- package/dist/cli/builders/manifest/ManifestV3.js +9 -6
- package/dist/cli/builders/manifest/ManifestV3.js.map +1 -1
- package/dist/cli/builders/manifest/index.d.ts +3 -14
- package/dist/cli/builders/manifest/utils.d.ts +10 -15
- package/dist/cli/builders/manifest/utils.js +14 -2
- package/dist/cli/builders/manifest/utils.js.map +1 -1
- package/dist/cli/bundler/index.d.ts +2 -16
- package/dist/cli/bundler/plugins/EntrypointPlugin.d.ts +10 -19
- package/dist/cli/bundler/plugins/EntrypointPlugin.js +1 -0
- package/dist/cli/bundler/plugins/EntrypointPlugin.js.map +1 -1
- package/dist/cli/bundler/plugins/GenerateJsonPlugin.d.ts +5 -7
- package/dist/cli/bundler/plugins/GenerateJsonPlugin.js +1 -0
- package/dist/cli/bundler/plugins/GenerateJsonPlugin.js.map +1 -1
- package/dist/cli/bundler/plugins/ManifestPlugin.d.ts +3 -11
- package/dist/cli/bundler/plugins/ManifestPlugin.js +1 -0
- package/dist/cli/bundler/plugins/ManifestPlugin.js.map +1 -1
- package/dist/cli/bundler/plugins/ReplacePlugin.d.ts +3 -5
- package/dist/cli/bundler/plugins/ReplacePlugin.js +1 -0
- package/dist/cli/bundler/plugins/ReplacePlugin.js.map +1 -1
- package/dist/cli/bundler/plugins/WatchPlugin.d.ts +3 -6
- package/dist/cli/bundler/plugins/WatchPlugin.js +1 -0
- package/dist/cli/bundler/plugins/WatchPlugin.js.map +1 -1
- package/dist/cli/bundler/plugins/index.d.ts +5 -14
- package/dist/cli/bundler/utils/index.d.ts +2 -3
- package/dist/cli/bundler/utils/optimization.d.ts +2 -6
- package/dist/cli/bundler/utils/optimization.js +10 -98
- package/dist/cli/bundler/utils/optimization.js.map +1 -1
- package/dist/cli/bundler/utils/output.d.ts +2 -5
- package/dist/cli/entrypoint/file/ExpressionFile.d.ts +4 -10
- package/dist/cli/entrypoint/file/OptionFile.d.ts +3 -9
- package/dist/cli/entrypoint/file/SourceFile.d.ts +7 -11
- package/dist/cli/entrypoint/file/SourceFile.js +1 -0
- package/dist/cli/entrypoint/file/SourceFile.js.map +1 -1
- package/dist/cli/entrypoint/file/index.d.ts +4 -8
- package/dist/cli/entrypoint/file/injectors/core.d.ts +2 -4
- package/dist/cli/entrypoint/file/injectors/index.d.ts +2 -4
- package/dist/cli/entrypoint/file/parsers/AbstractParser.d.ts +6 -12
- package/dist/cli/entrypoint/file/parsers/AbstractParser.js +1 -0
- package/dist/cli/entrypoint/file/parsers/AbstractParser.js.map +1 -1
- package/dist/cli/entrypoint/file/parsers/ClassParser.d.ts +9 -15
- package/dist/cli/entrypoint/file/parsers/ClassParser.js +3 -0
- package/dist/cli/entrypoint/file/parsers/ClassParser.js.map +1 -1
- package/dist/cli/entrypoint/file/parsers/FunctionParser.d.ts +9 -17
- package/dist/cli/entrypoint/file/parsers/FunctionParser.js +3 -0
- package/dist/cli/entrypoint/file/parsers/FunctionParser.js.map +1 -1
- package/dist/cli/entrypoint/file/parsers/JSDocParser.d.ts +2 -5
- package/dist/cli/entrypoint/file/parsers/NodeFinder.d.ts +4 -10
- package/dist/cli/entrypoint/file/parsers/NodeFinder.js +1 -0
- package/dist/cli/entrypoint/file/parsers/NodeFinder.js.map +1 -1
- package/dist/cli/entrypoint/file/parsers/ObjectParser.d.ts +7 -15
- package/dist/cli/entrypoint/file/parsers/ObjectParser.js +1 -0
- package/dist/cli/entrypoint/file/parsers/ObjectParser.js.map +1 -1
- package/dist/cli/entrypoint/file/parsers/SignatureBuilder.d.ts +4 -12
- package/dist/cli/entrypoint/file/parsers/SignatureBuilder.js +5 -4
- package/dist/cli/entrypoint/file/parsers/SignatureBuilder.js.map +1 -1
- package/dist/cli/entrypoint/file/parsers/TypeResolver.d.ts +5 -11
- package/dist/cli/entrypoint/file/parsers/TypeResolver.js +2 -0
- package/dist/cli/entrypoint/file/parsers/TypeResolver.js.map +1 -1
- package/dist/cli/entrypoint/file/parsers/helpers/memberFilters.d.ts +1 -3
- package/dist/cli/entrypoint/file/parsers/index.d.ts +7 -14
- package/dist/cli/entrypoint/file/parsers/types.d.ts +4 -6
- package/dist/cli/entrypoint/file/resolvers/ImportResolver.d.ts +2 -6
- package/dist/cli/entrypoint/file/resolvers/ImportResolver.js +1 -0
- package/dist/cli/entrypoint/file/resolvers/ImportResolver.js.map +1 -1
- package/dist/cli/entrypoint/file/resolvers/TsResolver.d.ts +2 -5
- package/dist/cli/entrypoint/file/resolvers/index.d.ts +2 -3
- package/dist/cli/entrypoint/file/types.d.ts +5 -7
- package/dist/cli/entrypoint/finder/AbstractAssetFinder.d.ts +3 -16
- package/dist/cli/entrypoint/finder/AbstractEntrypointFinder.d.ts +4 -17
- package/dist/cli/entrypoint/finder/AbstractEntrypointFinder.js +22 -17
- package/dist/cli/entrypoint/finder/AbstractEntrypointFinder.js.map +1 -1
- package/dist/cli/entrypoint/finder/AbstractFinder.d.ts +4 -15
- package/dist/cli/entrypoint/finder/AbstractFinder.js +7 -2
- package/dist/cli/entrypoint/finder/AbstractFinder.js.map +1 -1
- package/dist/cli/entrypoint/finder/AbstractOptionsFinder.d.ts +3 -16
- package/dist/cli/entrypoint/finder/AbstractPluginFinder.d.ts +3 -18
- package/dist/cli/entrypoint/finder/AbstractTransportFinder.d.ts +9 -26
- package/dist/cli/entrypoint/finder/AbstractViewFinder.d.ts +9 -24
- package/dist/cli/entrypoint/finder/AssetPluginFinder.d.ts +8 -19
- package/dist/cli/entrypoint/finder/AssetPluginFinder.js +2 -0
- package/dist/cli/entrypoint/finder/AssetPluginFinder.js.map +1 -1
- package/dist/cli/entrypoint/finder/BackgroundFinder.d.ts +5 -19
- package/dist/cli/entrypoint/finder/CommandFinder.d.ts +7 -22
- package/dist/cli/entrypoint/finder/ContentFinder.d.ts +5 -19
- package/dist/cli/entrypoint/finder/IconFinder.d.ts +12 -25
- package/dist/cli/entrypoint/finder/LocaleFinder.d.ts +14 -22
- package/dist/cli/entrypoint/finder/LocaleFinder.js +23 -9
- package/dist/cli/entrypoint/finder/LocaleFinder.js.map +1 -1
- package/dist/cli/entrypoint/finder/OffscreenFinder.d.ts +5 -26
- package/dist/cli/entrypoint/finder/OffscreenViewFinder.d.ts +8 -29
- package/dist/cli/entrypoint/finder/OffscreenViewFinder.js +1 -0
- package/dist/cli/entrypoint/finder/OffscreenViewFinder.js.map +1 -1
- package/dist/cli/entrypoint/finder/PageFinder.d.ts +5 -22
- package/dist/cli/entrypoint/finder/PluginFinder.d.ts +7 -19
- package/dist/cli/entrypoint/finder/PluginFinder.js +2 -0
- package/dist/cli/entrypoint/finder/PluginFinder.js.map +1 -1
- package/dist/cli/entrypoint/finder/PopupFinder.d.ts +5 -22
- package/dist/cli/entrypoint/finder/RelayFinder.d.ts +5 -25
- package/dist/cli/entrypoint/finder/ServiceFinder.d.ts +5 -25
- package/dist/cli/entrypoint/finder/SidebarFinder.d.ts +5 -22
- package/dist/cli/entrypoint/finder/index.d.ts +18 -43
- package/dist/cli/entrypoint/index.d.ts +4 -64
- package/dist/cli/entrypoint/name/InlineNameGenerator.d.ts +2 -12
- package/dist/cli/entrypoint/name/NameGenerator.d.ts +2 -11
- package/dist/cli/entrypoint/name/NameGenerator.js +1 -0
- package/dist/cli/entrypoint/name/NameGenerator.js.map +1 -1
- package/dist/cli/entrypoint/name/index.d.ts +2 -9
- package/dist/cli/entrypoint/parser/AbstractParser.d.ts +14 -29
- package/dist/cli/entrypoint/parser/AbstractParser.js +1 -0
- package/dist/cli/entrypoint/parser/AbstractParser.js.map +1 -1
- package/dist/cli/entrypoint/parser/BackgroundParser.d.ts +3 -23
- package/dist/cli/entrypoint/parser/CommandParser.d.ts +4 -24
- package/dist/cli/entrypoint/parser/CommandParser.js +20 -5
- package/dist/cli/entrypoint/parser/CommandParser.js.map +1 -1
- package/dist/cli/entrypoint/parser/ContentParser.d.ts +4 -23
- package/dist/cli/entrypoint/parser/OffscreenParser.d.ts +3 -28
- package/dist/cli/entrypoint/parser/PageParser.d.ts +3 -26
- package/dist/cli/entrypoint/parser/PopupParser.d.ts +3 -26
- package/dist/cli/entrypoint/parser/RelayParser.d.ts +4 -27
- package/dist/cli/entrypoint/parser/ServiceParser.d.ts +3 -27
- package/dist/cli/entrypoint/parser/SidebarParser.d.ts +3 -26
- package/dist/cli/entrypoint/parser/ViewParser.d.ts +60 -80
- package/dist/cli/entrypoint/parser/index.d.ts +9 -38
- package/dist/cli/entrypoint/utils/framework.d.ts +3 -12
- package/dist/cli/entrypoint/utils/index.d.ts +2 -10
- package/dist/cli/entrypoint/utils/resolve.d.ts +3 -5
- package/dist/cli/index.d.ts +1 -2
- package/dist/cli/plugins/asset.d.ts +2 -15
- package/dist/cli/plugins/background/Background.d.ts +4 -21
- package/dist/cli/plugins/background/BackgroundEntry.d.ts +7 -21
- package/dist/cli/plugins/background/BackgroundEntry.js +1 -0
- package/dist/cli/plugins/background/BackgroundEntry.js.map +1 -1
- package/dist/cli/plugins/background/BackgroundManifest.d.ts +5 -21
- package/dist/cli/plugins/background/Command.d.ts +6 -23
- package/dist/cli/plugins/background/Service.d.ts +5 -27
- package/dist/cli/plugins/background/ServiceDeclaration.d.ts +3 -17
- package/dist/cli/plugins/background/index.d.ts +2 -15
- package/dist/cli/plugins/bundler.d.ts +2 -15
- package/dist/cli/plugins/content/Content.d.ts +9 -24
- package/dist/cli/plugins/content/ContentDriver.d.ts +7 -22
- package/dist/cli/plugins/content/ContentDriver.js +1 -0
- package/dist/cli/plugins/content/ContentDriver.js.map +1 -1
- package/dist/cli/plugins/content/ContentManager.d.ts +8 -19
- package/dist/cli/plugins/content/ContentName.d.ts +5 -17
- package/dist/cli/plugins/content/ContentName.js +1 -0
- package/dist/cli/plugins/content/ContentName.js.map +1 -1
- package/dist/cli/plugins/content/Relay.d.ts +9 -30
- package/dist/cli/plugins/content/RelayDeclaration.d.ts +3 -17
- package/dist/cli/plugins/content/index.d.ts +2 -15
- package/dist/cli/plugins/content/index.js +14 -3
- package/dist/cli/plugins/content/index.js.map +1 -1
- package/dist/cli/plugins/content/types.d.ts +8 -16
- package/dist/cli/plugins/content/utils.d.ts +2 -11
- package/dist/cli/plugins/dotenv/index.d.ts +3 -16
- package/dist/cli/plugins/dotenv/utils.d.ts +4 -7
- package/dist/cli/plugins/html.d.ts +2 -15
- package/dist/cli/plugins/icon/Icon.d.ts +6 -22
- package/dist/cli/plugins/icon/declaration/IconDeclaration.d.ts +3 -16
- package/dist/cli/plugins/icon/declaration/index.d.ts +1 -13
- package/dist/cli/plugins/icon/index.d.ts +4 -21
- package/dist/cli/plugins/index.d.ts +22 -58
- package/dist/cli/plugins/index.js +32 -30
- package/dist/cli/plugins/index.js.map +1 -1
- package/dist/cli/plugins/locale/Locale.d.ts +3 -20
- package/dist/cli/plugins/locale/declaration/LocaleDeclaration.d.ts +4 -16
- package/dist/cli/plugins/locale/declaration/index.d.ts +1 -13
- package/dist/cli/plugins/locale/declaration/locale.d.ts +61 -11
- package/dist/cli/plugins/locale/index.d.ts +2 -15
- package/dist/cli/plugins/locale/index.js +44 -49
- package/dist/cli/plugins/locale/index.js.map +1 -1
- package/dist/cli/plugins/manifest.d.ts +2 -0
- package/dist/cli/plugins/manifest.js +27 -0
- package/dist/cli/plugins/manifest.js.map +1 -0
- package/dist/cli/plugins/meta/AbstractMeta.d.ts +2 -15
- package/dist/cli/plugins/meta/AbstractMeta.js +1 -0
- package/dist/cli/plugins/meta/AbstractMeta.js.map +1 -1
- package/dist/cli/plugins/meta/Author.d.ts +3 -16
- package/dist/cli/plugins/meta/Homepage.d.ts +3 -16
- package/dist/cli/plugins/meta/Incognito.d.ts +4 -16
- package/dist/cli/plugins/meta/SpecificSettings.d.ts +4 -16
- package/dist/cli/plugins/meta/index.d.ts +7 -20
- package/dist/cli/plugins/offscreen/Offscreen.d.ts +11 -35
- package/dist/cli/plugins/offscreen/OffscreenDeclaration.d.ts +3 -17
- package/dist/cli/plugins/offscreen/index.d.ts +2 -15
- package/dist/cli/plugins/optimization.d.ts +2 -15
- package/dist/cli/plugins/optimization.js +42 -13
- package/dist/cli/plugins/optimization.js.map +1 -1
- package/dist/cli/plugins/output.d.ts +2 -15
- package/dist/cli/plugins/page/Page.d.ts +8 -26
- package/dist/cli/plugins/page/declaration/PageDeclaration.d.ts +3 -16
- package/dist/cli/plugins/page/declaration/index.d.ts +1 -13
- package/dist/cli/plugins/page/index.d.ts +2 -15
- package/dist/cli/plugins/popup/Popup.d.ts +9 -27
- package/dist/cli/plugins/popup/declaration/PopupDeclaration.d.ts +3 -16
- package/dist/cli/plugins/popup/declaration/index.d.ts +1 -13
- package/dist/cli/plugins/popup/index.d.ts +2 -15
- package/dist/cli/plugins/public.d.ts +2 -15
- package/dist/cli/plugins/react.d.ts +2 -15
- package/dist/cli/plugins/sidebar/Sidebar.d.ts +9 -27
- package/dist/cli/plugins/sidebar/declaration/SidebarDeclaration.d.ts +3 -16
- package/dist/cli/plugins/sidebar/declaration/index.d.ts +1 -13
- package/dist/cli/plugins/sidebar/index.d.ts +2 -15
- package/dist/cli/plugins/style.d.ts +2 -15
- package/dist/cli/plugins/typescript/FileBuilder.d.ts +2 -15
- package/dist/cli/plugins/typescript/FileBuilder.js +1 -0
- package/dist/cli/plugins/typescript/FileBuilder.js.map +1 -1
- package/dist/cli/plugins/typescript/TypescriptConfig.d.ts +4 -17
- package/dist/cli/plugins/typescript/declaration/index.d.ts +2 -14
- package/dist/cli/plugins/typescript/declaration/transport/TransportDeclaration.d.ts +4 -17
- package/dist/cli/plugins/typescript/declaration/transport/TransportDeclaration.js +1 -0
- package/dist/cli/plugins/typescript/declaration/transport/TransportDeclaration.js.map +1 -1
- package/dist/cli/plugins/typescript/declaration/transport/index.d.ts +1 -13
- package/dist/cli/plugins/typescript/declaration/vendor/VendorDeclaration.d.ts +3 -16
- package/dist/cli/plugins/typescript/declaration/vendor/index.d.ts +1 -13
- package/dist/cli/plugins/typescript/index.d.ts +6 -20
- package/dist/cli/plugins/version/AbstractVersion.d.ts +2 -15
- package/dist/cli/plugins/version/AbstractVersion.js +2 -1
- package/dist/cli/plugins/version/AbstractVersion.js.map +1 -1
- package/dist/cli/plugins/version/AddonVersion.d.ts +3 -16
- package/dist/cli/plugins/version/BrowserMinimumVersion.d.ts +3 -16
- package/dist/cli/plugins/version/index.d.ts +5 -18
- package/dist/cli/plugins/view/View.d.ts +10 -24
- package/dist/cli/plugins/view/View.js +2 -0
- package/dist/cli/plugins/view/View.js.map +1 -1
- package/dist/cli/plugins/view/index.d.ts +3 -22
- package/dist/cli/plugins/view/index.js +26 -12
- package/dist/cli/plugins/view/index.js.map +1 -1
- package/dist/cli/resolvers/bundler.d.ts +4 -15
- package/dist/cli/resolvers/config.d.ts +2 -14
- package/dist/cli/resolvers/config.js +46 -11
- package/dist/cli/resolvers/config.js.map +1 -1
- package/dist/cli/resolvers/path.d.ts +11 -24
- package/dist/cli/resolvers/plugin.d.ts +3 -16
- package/dist/cli/utils/fs.d.ts +3 -5
- package/dist/cli/utils/path.d.ts +3 -5
- package/dist/cli/utils/string.d.ts +2 -4
- package/dist/cli/virtual/background.d.ts +1 -0
- package/dist/cli/virtual/command.d.ts +1 -0
- package/dist/cli/virtual/content.d.ts +1 -0
- package/dist/cli/virtual/index.d.ts +9 -0
- package/dist/cli/virtual/index.js +2 -2
- package/dist/cli/virtual/offscreen.background.d.ts +1 -0
- package/dist/cli/virtual/offscreen.d.ts +1 -0
- package/dist/cli/virtual/relay.d.ts +1 -0
- package/dist/cli/virtual/transport.d.ts +1 -0
- package/dist/cli/virtual/view.d.ts +1 -0
- package/dist/cli/virtual/virtual.d.ts +38 -38
- package/dist/entry/background/Builder.d.ts +3 -12
- package/dist/entry/background/Builder.js +1 -0
- package/dist/entry/background/Builder.js.map +1 -1
- package/dist/entry/background/index.d.ts +3 -12
- package/dist/entry/background/resolvers/definition.d.ts +3 -12
- package/dist/entry/background/resolvers/index.d.ts +1 -8
- package/dist/entry/command/Builder.d.ts +4 -12
- package/dist/entry/command/index.d.ts +3 -12
- package/dist/entry/command/resolvers/definition.d.ts +4 -13
- package/dist/entry/command/resolvers/index.d.ts +1 -8
- package/dist/entry/content/adapters/react/Builder.d.ts +3 -17
- package/dist/entry/content/adapters/react/Node.d.ts +6 -14
- package/dist/entry/content/adapters/react/Node.js +2 -0
- package/dist/entry/content/adapters/react/Node.js.map +1 -1
- package/dist/entry/content/adapters/react/index.d.ts +4 -18
- package/dist/entry/content/adapters/react/resolvers/index.d.ts +1 -8
- package/dist/entry/content/adapters/react/resolvers/render.d.ts +2 -11
- package/dist/entry/content/adapters/vanilla/Builder.d.ts +3 -17
- package/dist/entry/content/adapters/vanilla/Node.d.ts +2 -11
- package/dist/entry/content/adapters/vanilla/Node.js +2 -0
- package/dist/entry/content/adapters/vanilla/Node.js.map +1 -1
- package/dist/entry/content/adapters/vanilla/index.d.ts +4 -18
- package/dist/entry/content/core/AbstractMarker.d.ts +2 -11
- package/dist/entry/content/core/AbstractMarker.js +1 -0
- package/dist/entry/content/core/AbstractMarker.js.map +1 -1
- package/dist/entry/content/core/AttributeMarker.d.ts +3 -12
- package/dist/entry/content/core/Builder.d.ts +8 -17
- package/dist/entry/content/core/Context.d.ts +2 -11
- package/dist/entry/content/core/Context.js +1 -0
- package/dist/entry/content/core/Context.js.map +1 -1
- package/dist/entry/content/core/EventEmitter.d.ts +2 -11
- package/dist/entry/content/core/EventNode.d.ts +2 -11
- package/dist/entry/content/core/EventNode.js +2 -0
- package/dist/entry/content/core/EventNode.js.map +1 -1
- package/dist/entry/content/core/ManagedContext.d.ts +3 -12
- package/dist/entry/content/core/MarkerNode.d.ts +2 -11
- package/dist/entry/content/core/MarkerNode.js +2 -0
- package/dist/entry/content/core/MarkerNode.js.map +1 -1
- package/dist/entry/content/core/MountBuilder.d.ts +3 -16
- package/dist/entry/content/core/MountNode.d.ts +2 -11
- package/dist/entry/content/core/MountNode.js +2 -0
- package/dist/entry/content/core/MountNode.js.map +1 -1
- package/dist/entry/content/core/Node.d.ts +2 -11
- package/dist/entry/content/core/Node.js +2 -0
- package/dist/entry/content/core/Node.js.map +1 -1
- package/dist/entry/content/core/WeakMarker.d.ts +3 -12
- package/dist/entry/content/core/resolvers/anchor.d.ts +2 -11
- package/dist/entry/content/core/resolvers/container.d.ts +2 -11
- package/dist/entry/content/core/resolvers/definition.d.ts +3 -12
- package/dist/entry/content/core/resolvers/index.d.ts +6 -13
- package/dist/entry/content/core/resolvers/mount.d.ts +2 -11
- package/dist/entry/content/core/resolvers/render.d.ts +3 -12
- package/dist/entry/content/core/resolvers/watch.d.ts +4 -13
- package/dist/entry/content/index.d.ts +1 -8
- package/dist/entry/core/Builder.d.ts +2 -11
- package/dist/entry/offscreen/Builder.d.ts +8 -25
- package/dist/entry/offscreen/Builder.js +8 -1
- package/dist/entry/offscreen/Builder.js.map +1 -1
- package/dist/entry/offscreen/TransportBuilder.d.ts +6 -24
- package/dist/entry/offscreen/index.d.ts +4 -25
- package/dist/entry/relay/Builder.d.ts +7 -21
- package/dist/entry/relay/Builder.js +1 -0
- package/dist/entry/relay/Builder.js.map +1 -1
- package/dist/entry/relay/TransportBuilder.d.ts +6 -20
- package/dist/entry/relay/index.d.ts +4 -21
- package/dist/entry/service/Builder.d.ts +6 -20
- package/dist/entry/service/index.d.ts +2 -14
- package/dist/entry/transport/AbstractBuilder.d.ts +4 -14
- package/dist/entry/transport/index.d.ts +1 -14
- package/dist/entry/transport/resolvers/definition.d.ts +7 -20
- package/dist/entry/transport/resolvers/index.d.ts +1 -14
- package/dist/entry/view/adapters/react/Builder.d.ts +4 -16
- package/dist/entry/view/adapters/react/index.d.ts +4 -17
- package/dist/entry/view/adapters/react/resolvers/render.d.ts +2 -13
- package/dist/entry/view/adapters/vanilla/Builder.d.ts +3 -15
- package/dist/entry/view/adapters/vanilla/index.d.ts +4 -16
- package/dist/entry/view/core/Builder.d.ts +3 -14
- package/dist/entry/view/core/resolvers/container.d.ts +2 -13
- package/dist/entry/view/core/resolvers/definition.d.ts +3 -14
- package/dist/entry/view/core/resolvers/render.d.ts +3 -14
- package/dist/entry/view/index.d.ts +1 -10
- package/dist/index.d.ts +1 -43
- package/dist/locale/adapters/react/LocaleProvider.d.ts +4 -6
- package/dist/locale/adapters/react/LocaleProvider.js +5 -5
- package/dist/locale/adapters/react/LocaleProvider.js.map +1 -1
- package/dist/locale/adapters/react/context.d.ts +8 -13
- package/dist/locale/adapters/react/context.js +2 -5
- package/dist/locale/adapters/react/context.js.map +1 -1
- package/dist/locale/adapters/react/index.d.ts +2 -6
- package/dist/locale/helpers.d.ts +60 -36
- package/dist/locale/helpers.js +14 -14
- package/dist/locale/helpers.js.map +1 -1
- package/dist/locale/index.d.ts +3 -7
- package/dist/locale/index.js.map +1 -1
- package/dist/locale/providers/AbstractLocale.d.ts +5 -8
- package/dist/locale/providers/AbstractLocale.js +9 -6
- package/dist/locale/providers/AbstractLocale.js.map +1 -1
- package/dist/locale/providers/CustomLocale.d.ts +5 -8
- package/dist/locale/providers/CustomLocale.js +3 -1
- package/dist/locale/providers/CustomLocale.js.map +1 -1
- package/dist/locale/providers/DynamicLocale.d.ts +7 -11
- package/dist/locale/providers/DynamicLocale.js +1 -1
- package/dist/locale/providers/DynamicLocale.js.map +1 -1
- package/dist/locale/providers/NativeLocale.d.ts +7 -10
- package/dist/locale/providers/NativeLocale.js.map +1 -1
- package/dist/locale/providers/index.d.ts +3 -6
- package/dist/locale/utils.d.ts +11 -14
- package/dist/main/app.d.ts +1 -1
- package/dist/main/app.js +3 -2
- package/dist/main/app.js.map +1 -1
- package/dist/main/background.d.ts +3 -12
- package/dist/main/browser.d.ts +1 -1
- package/dist/main/command.d.ts +4 -13
- package/dist/main/config.d.ts +3 -16
- package/dist/main/config.js.map +1 -1
- package/dist/main/content.d.ts +6 -18
- package/dist/main/env.d.ts +7 -15
- package/dist/main/icon.d.ts +6 -7
- package/dist/main/index.d.ts +17 -43
- package/dist/main/manifest.d.ts +1 -7
- package/dist/main/offscreen.d.ts +9 -22
- package/dist/main/offscreen.js +1 -1
- package/dist/main/offscreen.js.map +1 -1
- package/dist/main/page.d.ts +7 -19
- package/dist/main/plugin.d.ts +3 -16
- package/dist/main/popup.d.ts +8 -18
- package/dist/main/popup.js +2 -2
- package/dist/main/popup.js.map +1 -1
- package/dist/main/relay.d.ts +8 -21
- package/dist/main/service.d.ts +6 -15
- package/dist/main/sidebar.d.ts +8 -18
- package/dist/main/sidebar.js +2 -2
- package/dist/main/sidebar.js.map +1 -1
- package/dist/main/view.d.ts +1 -9
- package/dist/message/MessageManager.d.ts +2 -5
- package/dist/message/adapters/react/index.d.ts +1 -2
- package/dist/message/adapters/react/useMessageHandler.d.ts +2 -5
- package/dist/message/handlers/AbstractHandler.d.ts +2 -5
- package/dist/message/handlers/GeneralHandler.d.ts +3 -6
- package/dist/message/handlers/GeneralHandler.js +1 -0
- package/dist/message/handlers/GeneralHandler.js.map +1 -1
- package/dist/message/handlers/MapHandler.d.ts +3 -6
- package/dist/message/handlers/MapHandler.js +1 -0
- package/dist/message/handlers/MapHandler.js.map +1 -1
- package/dist/message/handlers/SingleHandler.d.ts +3 -6
- package/dist/message/handlers/SingleHandler.js +2 -0
- package/dist/message/handlers/SingleHandler.js.map +1 -1
- package/dist/message/handlers/index.d.ts +3 -5
- package/dist/message/index.d.ts +9 -13
- package/dist/message/providers/AbstractMessage.d.ts +2 -5
- package/dist/message/providers/Message.d.ts +4 -7
- package/dist/message/providers/index.d.ts +1 -4
- package/dist/offscreen/OffscreenBackground.d.ts +2 -9
- package/dist/offscreen/OffscreenBridge.d.ts +8 -9
- package/dist/offscreen/OffscreenBridge.js +55 -7
- package/dist/offscreen/OffscreenBridge.js.map +1 -1
- package/dist/offscreen/OffscreenManager.d.ts +4 -15
- package/dist/offscreen/OffscreenMessage.d.ts +2 -14
- package/dist/offscreen/index.d.ts +5 -26
- package/dist/offscreen/providers/Offscreen.d.ts +3 -14
- package/dist/offscreen/providers/ProxyOffscreen.d.ts +7 -18
- package/dist/offscreen/providers/ProxyOffscreen.js +44 -23
- package/dist/offscreen/providers/ProxyOffscreen.js.map +1 -1
- package/dist/offscreen/providers/RegisterOffscreen.d.ts +5 -18
- package/dist/offscreen/providers/RegisterOffscreen.js +1 -0
- package/dist/offscreen/providers/RegisterOffscreen.js.map +1 -1
- package/dist/offscreen/providers/index.d.ts +3 -17
- package/dist/offscreen/utils.d.ts +1 -3
- package/dist/relay/RelayManager.d.ts +6 -16
- package/dist/relay/RelayMessage.d.ts +2 -14
- package/dist/relay/RelayPermission.d.ts +4 -15
- package/dist/relay/index.d.ts +4 -22
- package/dist/relay/providers/ProxyRelay.d.ts +8 -19
- package/dist/relay/providers/ProxyRelay.js +2 -0
- package/dist/relay/providers/ProxyRelay.js.map +1 -1
- package/dist/relay/providers/RegisterRelay.d.ts +4 -16
- package/dist/relay/providers/RegisterRelay.js +2 -0
- package/dist/relay/providers/RegisterRelay.js.map +1 -1
- package/dist/relay/providers/Relay.d.ts +3 -14
- package/dist/relay/providers/index.d.ts +3 -18
- package/dist/relay/utils.d.ts +3 -5
- package/dist/service/ServiceManager.d.ts +4 -15
- package/dist/service/ServiceMessage.d.ts +2 -14
- package/dist/service/index.d.ts +4 -19
- package/dist/service/providers/ProxyService.d.ts +4 -15
- package/dist/service/providers/RegisterService.d.ts +3 -15
- package/dist/service/providers/RegisterService.js +1 -0
- package/dist/service/providers/RegisterService.js.map +1 -1
- package/dist/service/providers/Service.d.ts +3 -14
- package/dist/service/providers/index.d.ts +3 -15
- package/dist/transport/BaseTransport.d.ts +2 -13
- package/dist/transport/BaseTransport.js +1 -0
- package/dist/transport/BaseTransport.js.map +1 -1
- package/dist/transport/ProxyTransport.d.ts +4 -14
- package/dist/transport/RegisterTransport.d.ts +4 -16
- package/dist/transport/RegisterTransport.js +13 -20
- package/dist/transport/RegisterTransport.js.map +1 -1
- package/dist/transport/TransportManager.d.ts +2 -13
- package/dist/transport/TransportMessage.d.ts +3 -13
- package/dist/transport/index.d.ts +1 -9
- package/dist/types/app.d.ts +8 -6
- package/dist/types/app.js +7 -1
- package/dist/types/app.js.map +1 -1
- package/dist/types/background.d.ts +20 -7
- package/dist/types/browser.d.ts +6 -8
- package/dist/types/command.d.ts +27 -7
- package/dist/types/config.d.ts +673 -11
- package/dist/types/content.d.ts +195 -7
- package/dist/types/entrypoint.d.ts +106 -7
- package/dist/types/entrypoint.js.map +1 -1
- package/dist/types/env.d.ts +4 -6
- package/dist/types/framework.d.ts +1 -3
- package/dist/types/helpers.d.ts +6 -7
- package/dist/types/icon.d.ts +3 -5
- package/dist/types/locale.d.ts +35 -29
- package/dist/types/locale.js.map +1 -1
- package/dist/types/manifest.d.ts +163 -7
- package/dist/types/manifest.js.map +1 -1
- package/dist/types/message.d.ts +17 -19
- package/dist/types/message.js +1 -1
- package/dist/types/message.js.map +1 -1
- package/dist/types/offscreen.d.ts +13 -23
- package/dist/types/offscreen.js +2 -0
- package/dist/types/offscreen.js.map +1 -1
- package/dist/types/page.d.ts +5 -16
- package/dist/types/plugin.d.ts +101 -11
- package/dist/types/popup.d.ts +5 -16
- package/dist/types/relay.d.ts +13 -21
- package/dist/types/service.d.ts +9 -18
- package/dist/types/sidebar.d.ts +7 -17
- package/dist/types/transport.d.ts +22 -29
- package/dist/types/view.d.ts +18 -24
- package/package.json +14 -16
- package/dist/config-BaSTGrd0.d.ts +0 -726
- package/dist/manifest-DKvERQ4d.d.ts +0 -503
|
@@ -1,15 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import 'html-rspack-tags-plugin';
|
|
4
|
-
import '../../types/app.js';
|
|
5
|
-
import '../../types/browser.js';
|
|
6
|
-
import '../../manifest-DKvERQ4d.js';
|
|
7
|
-
import 'react';
|
|
8
|
-
import 'utility-types';
|
|
9
|
-
import '../../types/helpers.js';
|
|
10
|
-
import '../../types/locale.js';
|
|
11
|
-
import '../../types/env.js';
|
|
12
|
-
|
|
13
|
-
declare const _default: PluginDefinition<[]>;
|
|
14
|
-
|
|
15
|
-
export { _default as default };
|
|
1
|
+
declare const _default: import("../../main/plugin.js").PluginDefinition<[]>;
|
|
2
|
+
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _ from "lodash";
|
|
2
2
|
import { merge as mergeConfig } from "webpack-merge";
|
|
3
3
|
import { definePlugin } from "./../../main/plugin.js";
|
|
4
|
-
import {
|
|
4
|
+
import { resolveRootPath } from "./../../cli/resolvers/path.js";
|
|
5
5
|
var optimization_default = definePlugin(() => {
|
|
6
6
|
return {
|
|
7
7
|
name: "adnbn:optimization",
|
|
@@ -10,38 +10,67 @@ var optimization_default = definePlugin(() => {
|
|
|
10
10
|
optimization: {
|
|
11
11
|
moduleIds: "deterministic",
|
|
12
12
|
chunkIds: "deterministic",
|
|
13
|
-
mangleExports: "deterministic"
|
|
13
|
+
mangleExports: "deterministic",
|
|
14
|
+
usedExports: true,
|
|
15
|
+
providedExports: true
|
|
14
16
|
}
|
|
15
17
|
};
|
|
16
|
-
|
|
18
|
+
const { commonChunks } = config;
|
|
19
|
+
if (!commonChunks) {
|
|
17
20
|
return rspack;
|
|
18
21
|
}
|
|
19
22
|
return mergeConfig(rspack, {
|
|
20
23
|
optimization: {
|
|
21
|
-
usedExports: true,
|
|
22
|
-
providedExports: true,
|
|
23
24
|
splitChunks: {
|
|
24
25
|
chunks: "all",
|
|
25
26
|
minSize: 2e4,
|
|
26
27
|
cacheGroups: {
|
|
27
28
|
default: false,
|
|
28
29
|
defaultVendors: false,
|
|
29
|
-
|
|
30
|
+
adnbnCommon: {
|
|
30
31
|
test: (module) => {
|
|
31
32
|
const { resource } = module;
|
|
32
33
|
if (!resource) {
|
|
33
34
|
return false;
|
|
34
35
|
}
|
|
35
|
-
|
|
36
|
+
if (/[\\/]node_modules[\\/]/.test(resource)) {
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
if (resource.startsWith(resolveRootPath(config))) {
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
const isFileSystemModule = resource.includes("/") || resource.includes("\\");
|
|
43
|
+
const isVirtual = resource.startsWith("virtual:") || resource.startsWith("\0");
|
|
44
|
+
return isFileSystemModule && !isVirtual;
|
|
36
45
|
},
|
|
37
|
-
name: (
|
|
38
|
-
const
|
|
39
|
-
|
|
40
|
-
)
|
|
41
|
-
|
|
46
|
+
name: (_module, chunks) => {
|
|
47
|
+
const names = new Set(
|
|
48
|
+
chunks.map(({ name }) => name).filter((name) => _.isString(name) && !_.isEmpty(name))
|
|
49
|
+
);
|
|
50
|
+
if (_.isFunction(commonChunks)) {
|
|
51
|
+
const name = commonChunks(names);
|
|
52
|
+
if (_.isString(name) && !_.isEmpty(name)) {
|
|
53
|
+
return name;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
if (names.size === 0) {
|
|
57
|
+
return `async.common`;
|
|
58
|
+
}
|
|
59
|
+
const sortedNames = Array.from(names).toSorted();
|
|
60
|
+
const joinedNames = sortedNames.join("-");
|
|
61
|
+
if (joinedNames.length <= 60 && sortedNames.length <= 3) {
|
|
62
|
+
return `${joinedNames}.common`;
|
|
63
|
+
}
|
|
64
|
+
let hash = 0;
|
|
65
|
+
for (let i = 0; i < joinedNames.length; i++) {
|
|
66
|
+
hash = (hash << 5) - hash + joinedNames.charCodeAt(i);
|
|
67
|
+
hash |= 0;
|
|
68
|
+
}
|
|
69
|
+
const hashStr = Math.abs(hash).toString(36).slice(0, 8);
|
|
70
|
+
const prefix = sortedNames.slice(0, 2).join("-");
|
|
71
|
+
return `${prefix}-etc-${hashStr}.common`;
|
|
42
72
|
},
|
|
43
73
|
minChunks: 2,
|
|
44
|
-
enforce: true,
|
|
45
74
|
priority: -10,
|
|
46
75
|
reuseExistingChunk: true
|
|
47
76
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/cli/plugins/optimization.ts"],"sourcesContent":["import _ from \"lodash\";\nimport {Configuration as RspackConfig, NormalModule} from \"@rspack/core\";\nimport {merge as mergeConfig} from \"webpack-merge\";\n\nimport {definePlugin} from \"@main/plugin\";\n\nimport {
|
|
1
|
+
{"version":3,"sources":["../../../src/cli/plugins/optimization.ts"],"sourcesContent":["import _ from \"lodash\";\nimport {Configuration as RspackConfig, NormalModule} from \"@rspack/core\";\nimport {merge as mergeConfig} from \"webpack-merge\";\n\nimport {definePlugin} from \"@main/plugin\";\n\nimport {resolveRootPath} from \"@cli/resolvers/path\";\n\nexport default definePlugin(() => {\n return {\n name: \"adnbn:optimization\",\n bundler: ({config}) => {\n const rspack: RspackConfig = {\n optimization: {\n moduleIds: \"deterministic\",\n chunkIds: \"deterministic\",\n mangleExports: \"deterministic\",\n usedExports: true,\n providedExports: true,\n },\n };\n\n const {commonChunks} = config;\n\n if (!commonChunks) {\n return rspack;\n }\n\n return mergeConfig(rspack, {\n optimization: {\n splitChunks: {\n chunks: \"all\",\n minSize: 20000,\n cacheGroups: {\n default: false,\n defaultVendors: false,\n adnbnCommon: {\n test: module => {\n const {resource} = module as NormalModule;\n\n if (!resource) {\n return false;\n }\n\n if (/[\\\\/]node_modules[\\\\/]/.test(resource)) {\n return true;\n }\n\n if (resource.startsWith(resolveRootPath(config))) {\n return true;\n }\n\n const isFileSystemModule = resource.includes(\"/\") || resource.includes(\"\\\\\");\n const isVirtual = resource.startsWith(\"virtual:\") || resource.startsWith(\"\\0\");\n\n return isFileSystemModule && !isVirtual;\n },\n name: (_module, chunks) => {\n const names = new Set(\n chunks\n .map(({name}) => name)\n .filter((name): name is string => _.isString(name) && !_.isEmpty(name))\n );\n\n if (_.isFunction(commonChunks)) {\n const name = commonChunks(names);\n\n if (_.isString(name) && !_.isEmpty(name)) {\n return name;\n }\n }\n\n if (names.size === 0) {\n return `async.common`;\n }\n\n const sortedNames = Array.from(names).toSorted();\n const joinedNames = sortedNames.join(\"-\");\n\n if (joinedNames.length <= 60 && sortedNames.length <= 3) {\n return `${joinedNames}.common`;\n }\n\n let hash = 0;\n\n for (let i = 0; i < joinedNames.length; i++) {\n hash = (hash << 5) - hash + joinedNames.charCodeAt(i);\n hash |= 0;\n }\n\n const hashStr = Math.abs(hash).toString(36).slice(0, 8);\n const prefix = sortedNames.slice(0, 2).join(\"-\");\n\n return `${prefix}-etc-${hashStr}.common`;\n },\n minChunks: 2,\n priority: -10,\n reuseExistingChunk: true,\n },\n },\n },\n },\n });\n },\n };\n});\n"],"mappings":"AAAA,OAAO,OAAO;AAEd,SAAQ,SAAS,mBAAkB;AAEnC,SAAQ,oBAAmB;AAE3B,SAAQ,uBAAsB;AAE9B,IAAO,uBAAQ,aAAa,MAAM;AAC9B,SAAO;AAAA,IACH,MAAM;AAAA,IACN,SAAS,CAAC,EAAC,OAAM,MAAM;AACnB,YAAM,SAAuB;AAAA,QACzB,cAAc;AAAA,UACV,WAAW;AAAA,UACX,UAAU;AAAA,UACV,eAAe;AAAA,UACf,aAAa;AAAA,UACb,iBAAiB;AAAA,QACrB;AAAA,MACJ;AAEA,YAAM,EAAC,aAAY,IAAI;AAEvB,UAAI,CAAC,cAAc;AACf,eAAO;AAAA,MACX;AAEA,aAAO,YAAY,QAAQ;AAAA,QACvB,cAAc;AAAA,UACV,aAAa;AAAA,YACT,QAAQ;AAAA,YACR,SAAS;AAAA,YACT,aAAa;AAAA,cACT,SAAS;AAAA,cACT,gBAAgB;AAAA,cAChB,aAAa;AAAA,gBACT,MAAM,YAAU;AACZ,wBAAM,EAAC,SAAQ,IAAI;AAEnB,sBAAI,CAAC,UAAU;AACX,2BAAO;AAAA,kBACX;AAEA,sBAAI,yBAAyB,KAAK,QAAQ,GAAG;AACzC,2BAAO;AAAA,kBACX;AAEA,sBAAI,SAAS,WAAW,gBAAgB,MAAM,CAAC,GAAG;AAC9C,2BAAO;AAAA,kBACX;AAEA,wBAAM,qBAAqB,SAAS,SAAS,GAAG,KAAK,SAAS,SAAS,IAAI;AAC3E,wBAAM,YAAY,SAAS,WAAW,UAAU,KAAK,SAAS,WAAW,IAAI;AAE7E,yBAAO,sBAAsB,CAAC;AAAA,gBAClC;AAAA,gBACA,MAAM,CAAC,SAAS,WAAW;AACvB,wBAAM,QAAQ,IAAI;AAAA,oBACd,OACK,IAAI,CAAC,EAAC,KAAI,MAAM,IAAI,EACpB,OAAO,CAAC,SAAyB,EAAE,SAAS,IAAI,KAAK,CAAC,EAAE,QAAQ,IAAI,CAAC;AAAA,kBAC9E;AAEA,sBAAI,EAAE,WAAW,YAAY,GAAG;AAC5B,0BAAM,OAAO,aAAa,KAAK;AAE/B,wBAAI,EAAE,SAAS,IAAI,KAAK,CAAC,EAAE,QAAQ,IAAI,GAAG;AACtC,6BAAO;AAAA,oBACX;AAAA,kBACJ;AAEA,sBAAI,MAAM,SAAS,GAAG;AAClB,2BAAO;AAAA,kBACX;AAEA,wBAAM,cAAc,MAAM,KAAK,KAAK,EAAE,SAAS;AAC/C,wBAAM,cAAc,YAAY,KAAK,GAAG;AAExC,sBAAI,YAAY,UAAU,MAAM,YAAY,UAAU,GAAG;AACrD,2BAAO,GAAG,WAAW;AAAA,kBACzB;AAEA,sBAAI,OAAO;AAEX,2BAAS,IAAI,GAAG,IAAI,YAAY,QAAQ,KAAK;AACzC,4BAAQ,QAAQ,KAAK,OAAO,YAAY,WAAW,CAAC;AACpD,4BAAQ;AAAA,kBACZ;AAEA,wBAAM,UAAU,KAAK,IAAI,IAAI,EAAE,SAAS,EAAE,EAAE,MAAM,GAAG,CAAC;AACtD,wBAAM,SAAS,YAAY,MAAM,GAAG,CAAC,EAAE,KAAK,GAAG;AAE/C,yBAAO,GAAG,MAAM,QAAQ,OAAO;AAAA,gBACnC;AAAA,gBACA,WAAW;AAAA,gBACX,UAAU;AAAA,gBACV,oBAAoB;AAAA,cACxB;AAAA,YACJ;AAAA,UACJ;AAAA,QACJ;AAAA,MACJ,CAAC;AAAA,IACL;AAAA,EACJ;AACJ,CAAC;","names":[]}
|
|
@@ -1,15 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import 'html-rspack-tags-plugin';
|
|
4
|
-
import '../../types/app.js';
|
|
5
|
-
import '../../types/browser.js';
|
|
6
|
-
import '../../manifest-DKvERQ4d.js';
|
|
7
|
-
import 'react';
|
|
8
|
-
import 'utility-types';
|
|
9
|
-
import '../../types/helpers.js';
|
|
10
|
-
import '../../types/locale.js';
|
|
11
|
-
import '../../types/env.js';
|
|
12
|
-
|
|
13
|
-
declare const _default: PluginDefinition<[]>;
|
|
14
|
-
|
|
15
|
-
export { _default as default };
|
|
1
|
+
declare const _default: import("../../main/plugin.js").PluginDefinition<[]>;
|
|
2
|
+
export default _default;
|
|
@@ -1,30 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import '../../../types/app.js';
|
|
9
|
-
import '../../../types/browser.js';
|
|
10
|
-
import '../../../types/helpers.js';
|
|
11
|
-
import '../../../types/locale.js';
|
|
12
|
-
import '@rspack/core';
|
|
13
|
-
import 'html-rspack-tags-plugin';
|
|
14
|
-
import '../../../types/env.js';
|
|
15
|
-
import '../../entrypoint/finder/AbstractViewFinder.js';
|
|
16
|
-
import '../../entrypoint/finder/AbstractPluginFinder.js';
|
|
17
|
-
import '../../entrypoint/finder/AbstractEntrypointFinder.js';
|
|
18
|
-
import '../../entrypoint/finder/AbstractOptionsFinder.js';
|
|
19
|
-
import '../../entrypoint/finder/AbstractFinder.js';
|
|
20
|
-
import '../../../types/view.js';
|
|
21
|
-
|
|
22
|
-
declare class export_default extends export_default$1 {
|
|
23
|
-
protected _view?: export_default$2<PageEntrypointOptions>;
|
|
1
|
+
import { View } from "../view/index.js";
|
|
2
|
+
import { PageFinder } from "../../entrypoint/index.js";
|
|
3
|
+
import { ReadonlyConfig } from "../../../types/config.js";
|
|
4
|
+
import { PageEntrypointOptions } from "../../../types/page.js";
|
|
5
|
+
import { ManifestAccessibleResources } from "../../../types/manifest.js";
|
|
6
|
+
export default class extends PageFinder {
|
|
7
|
+
protected _view?: View<PageEntrypointOptions>;
|
|
24
8
|
constructor(config: ReadonlyConfig);
|
|
25
|
-
view():
|
|
9
|
+
view(): View<PageEntrypointOptions>;
|
|
26
10
|
accessibleResources(): Promise<ManifestAccessibleResources>;
|
|
27
11
|
clear(): this;
|
|
28
12
|
}
|
|
29
|
-
|
|
30
|
-
export { export_default as default };
|
|
@@ -1,17 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
import 'html-rspack-tags-plugin';
|
|
5
|
-
import '../../../../types/app.js';
|
|
6
|
-
import '../../../../types/browser.js';
|
|
7
|
-
import '../../../../manifest-DKvERQ4d.js';
|
|
8
|
-
import 'react';
|
|
9
|
-
import 'utility-types';
|
|
10
|
-
import '../../../../types/helpers.js';
|
|
11
|
-
import '../../../../types/locale.js';
|
|
12
|
-
import '../../../../types/env.js';
|
|
13
|
-
|
|
14
|
-
declare class export_default extends FileBuilder {
|
|
1
|
+
import { FileBuilder } from "../../../plugins/typescript/index.js";
|
|
2
|
+
import { ReadonlyConfig } from "../../../../types/config.js";
|
|
3
|
+
export default class extends FileBuilder {
|
|
15
4
|
protected alias: Set<string>;
|
|
16
5
|
constructor(config: ReadonlyConfig);
|
|
17
6
|
protected filename(): string;
|
|
@@ -19,5 +8,3 @@ declare class export_default extends FileBuilder {
|
|
|
19
8
|
protected template(): string;
|
|
20
9
|
setAlias(alias: Set<string>): this;
|
|
21
10
|
}
|
|
22
|
-
|
|
23
|
-
export { export_default as default };
|
|
@@ -1,13 +1 @@
|
|
|
1
|
-
export { default as PageDeclaration } from
|
|
2
|
-
import '../../../../config-BaSTGrd0.js';
|
|
3
|
-
import '@rspack/core';
|
|
4
|
-
import 'html-rspack-tags-plugin';
|
|
5
|
-
import '../../../../types/app.js';
|
|
6
|
-
import '../../../../types/browser.js';
|
|
7
|
-
import '../../../../manifest-DKvERQ4d.js';
|
|
8
|
-
import 'react';
|
|
9
|
-
import 'utility-types';
|
|
10
|
-
import '../../../../types/helpers.js';
|
|
11
|
-
import '../../../../types/locale.js';
|
|
12
|
-
import '../../../../types/env.js';
|
|
13
|
-
import '../../typescript/FileBuilder.js';
|
|
1
|
+
export { default as PageDeclaration } from "./PageDeclaration.js";
|
|
@@ -1,15 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import 'html-rspack-tags-plugin';
|
|
4
|
-
import '../../../types/app.js';
|
|
5
|
-
import '../../../types/browser.js';
|
|
6
|
-
import '../../../manifest-DKvERQ4d.js';
|
|
7
|
-
import 'react';
|
|
8
|
-
import 'utility-types';
|
|
9
|
-
import '../../../types/helpers.js';
|
|
10
|
-
import '../../../types/locale.js';
|
|
11
|
-
import '../../../types/env.js';
|
|
12
|
-
|
|
13
|
-
declare const _default: PluginDefinition<[]>;
|
|
14
|
-
|
|
15
|
-
export { _default as default };
|
|
1
|
+
declare const _default: import("../../../main/plugin.js").PluginDefinition<[]>;
|
|
2
|
+
export default _default;
|
|
@@ -1,32 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import '../../../types/browser.js';
|
|
10
|
-
import '../../../types/helpers.js';
|
|
11
|
-
import '../../../types/locale.js';
|
|
12
|
-
import '@rspack/core';
|
|
13
|
-
import 'html-rspack-tags-plugin';
|
|
14
|
-
import '../../../types/env.js';
|
|
15
|
-
import '../../entrypoint/finder/AbstractViewFinder.js';
|
|
16
|
-
import '../../entrypoint/finder/AbstractPluginFinder.js';
|
|
17
|
-
import '../../entrypoint/finder/AbstractEntrypointFinder.js';
|
|
18
|
-
import '../../entrypoint/finder/AbstractOptionsFinder.js';
|
|
19
|
-
import '../../entrypoint/finder/AbstractFinder.js';
|
|
20
|
-
import '../../../types/view.js';
|
|
21
|
-
|
|
22
|
-
type PopupNameToManifest = Map<string, ManifestPopup>;
|
|
23
|
-
declare class export_default extends export_default$1 {
|
|
24
|
-
protected _view?: export_default$2<PopupEntrypointOptions>;
|
|
1
|
+
import { View } from "../view/index.js";
|
|
2
|
+
import { PopupFinder } from "../../entrypoint/index.js";
|
|
3
|
+
import { ReadonlyConfig } from "../../../types/config.js";
|
|
4
|
+
import { PopupEntrypointOptions } from "../../../types/popup.js";
|
|
5
|
+
import { ManifestPopup } from "../../../types/manifest.js";
|
|
6
|
+
export type PopupNameToManifest = Map<string, ManifestPopup>;
|
|
7
|
+
export default class extends PopupFinder {
|
|
8
|
+
protected _view?: View<PopupEntrypointOptions>;
|
|
25
9
|
constructor(config: ReadonlyConfig);
|
|
26
|
-
view():
|
|
10
|
+
view(): View<PopupEntrypointOptions>;
|
|
27
11
|
manifest(): Promise<ManifestPopup | undefined>;
|
|
28
12
|
manifestByAlias(): Promise<PopupNameToManifest>;
|
|
29
13
|
clear(): this;
|
|
30
14
|
}
|
|
31
|
-
|
|
32
|
-
export { type PopupNameToManifest, export_default as default };
|
|
@@ -1,17 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
import 'html-rspack-tags-plugin';
|
|
5
|
-
import '../../../../types/app.js';
|
|
6
|
-
import '../../../../types/browser.js';
|
|
7
|
-
import '../../../../manifest-DKvERQ4d.js';
|
|
8
|
-
import 'react';
|
|
9
|
-
import 'utility-types';
|
|
10
|
-
import '../../../../types/helpers.js';
|
|
11
|
-
import '../../../../types/locale.js';
|
|
12
|
-
import '../../../../types/env.js';
|
|
13
|
-
|
|
14
|
-
declare class export_default extends FileBuilder {
|
|
1
|
+
import { FileBuilder } from "../../../plugins/typescript/index.js";
|
|
2
|
+
import { ReadonlyConfig } from "../../../../types/config.js";
|
|
3
|
+
export default class extends FileBuilder {
|
|
15
4
|
protected alias: Set<string>;
|
|
16
5
|
constructor(config: ReadonlyConfig);
|
|
17
6
|
protected filename(): string;
|
|
@@ -19,5 +8,3 @@ declare class export_default extends FileBuilder {
|
|
|
19
8
|
protected template(): string;
|
|
20
9
|
setAlias(alias: Set<string>): this;
|
|
21
10
|
}
|
|
22
|
-
|
|
23
|
-
export { export_default as default };
|
|
@@ -1,13 +1 @@
|
|
|
1
|
-
export { default as PopupDeclaration } from
|
|
2
|
-
import '../../../../config-BaSTGrd0.js';
|
|
3
|
-
import '@rspack/core';
|
|
4
|
-
import 'html-rspack-tags-plugin';
|
|
5
|
-
import '../../../../types/app.js';
|
|
6
|
-
import '../../../../types/browser.js';
|
|
7
|
-
import '../../../../manifest-DKvERQ4d.js';
|
|
8
|
-
import 'react';
|
|
9
|
-
import 'utility-types';
|
|
10
|
-
import '../../../../types/helpers.js';
|
|
11
|
-
import '../../../../types/locale.js';
|
|
12
|
-
import '../../../../types/env.js';
|
|
13
|
-
import '../../typescript/FileBuilder.js';
|
|
1
|
+
export { default as PopupDeclaration } from "./PopupDeclaration.js";
|
|
@@ -1,15 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import 'html-rspack-tags-plugin';
|
|
4
|
-
import '../../../types/app.js';
|
|
5
|
-
import '../../../types/browser.js';
|
|
6
|
-
import '../../../manifest-DKvERQ4d.js';
|
|
7
|
-
import 'react';
|
|
8
|
-
import 'utility-types';
|
|
9
|
-
import '../../../types/helpers.js';
|
|
10
|
-
import '../../../types/locale.js';
|
|
11
|
-
import '../../../types/env.js';
|
|
12
|
-
|
|
13
|
-
declare const _default: PluginDefinition<[]>;
|
|
14
|
-
|
|
15
|
-
export { _default as default };
|
|
1
|
+
declare const _default: import("../../../main/plugin.js").PluginDefinition<[]>;
|
|
2
|
+
export default _default;
|
|
@@ -1,15 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import 'html-rspack-tags-plugin';
|
|
4
|
-
import '../../types/app.js';
|
|
5
|
-
import '../../types/browser.js';
|
|
6
|
-
import '../../manifest-DKvERQ4d.js';
|
|
7
|
-
import 'react';
|
|
8
|
-
import 'utility-types';
|
|
9
|
-
import '../../types/helpers.js';
|
|
10
|
-
import '../../types/locale.js';
|
|
11
|
-
import '../../types/env.js';
|
|
12
|
-
|
|
13
|
-
declare const _default: PluginDefinition<[]>;
|
|
14
|
-
|
|
15
|
-
export { _default as default };
|
|
1
|
+
declare const _default: import("../../main/plugin.js").PluginDefinition<[]>;
|
|
2
|
+
export default _default;
|
|
@@ -1,15 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import 'html-rspack-tags-plugin';
|
|
4
|
-
import '../../types/app.js';
|
|
5
|
-
import '../../types/browser.js';
|
|
6
|
-
import '../../manifest-DKvERQ4d.js';
|
|
7
|
-
import 'react';
|
|
8
|
-
import 'utility-types';
|
|
9
|
-
import '../../types/helpers.js';
|
|
10
|
-
import '../../types/locale.js';
|
|
11
|
-
import '../../types/env.js';
|
|
12
|
-
|
|
13
|
-
declare const _default: PluginDefinition<[]>;
|
|
14
|
-
|
|
15
|
-
export { _default as default };
|
|
1
|
+
declare const _default: import("../../main/plugin.js").PluginDefinition<[]>;
|
|
2
|
+
export default _default;
|
|
@@ -1,32 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import '../../../types/browser.js';
|
|
10
|
-
import '../../../types/helpers.js';
|
|
11
|
-
import '../../../types/locale.js';
|
|
12
|
-
import '@rspack/core';
|
|
13
|
-
import 'html-rspack-tags-plugin';
|
|
14
|
-
import '../../../types/env.js';
|
|
15
|
-
import '../../entrypoint/finder/AbstractViewFinder.js';
|
|
16
|
-
import '../../entrypoint/finder/AbstractPluginFinder.js';
|
|
17
|
-
import '../../entrypoint/finder/AbstractEntrypointFinder.js';
|
|
18
|
-
import '../../entrypoint/finder/AbstractOptionsFinder.js';
|
|
19
|
-
import '../../entrypoint/finder/AbstractFinder.js';
|
|
20
|
-
import '../../../types/view.js';
|
|
21
|
-
|
|
22
|
-
type SidebarNameToManifest = Map<string, ManifestSidebar>;
|
|
23
|
-
declare class export_default extends export_default$1 {
|
|
24
|
-
protected _view?: export_default$2<SidebarEntrypointOptions>;
|
|
1
|
+
import { View } from "../view/index.js";
|
|
2
|
+
import { SidebarFinder } from "../../entrypoint/index.js";
|
|
3
|
+
import { ReadonlyConfig } from "../../../types/config.js";
|
|
4
|
+
import { SidebarEntrypointOptions } from "../../../types/sidebar.js";
|
|
5
|
+
import { ManifestSidebar } from "../../../types/manifest.js";
|
|
6
|
+
export type SidebarNameToManifest = Map<string, ManifestSidebar>;
|
|
7
|
+
export default class extends SidebarFinder {
|
|
8
|
+
protected _view?: View<SidebarEntrypointOptions>;
|
|
25
9
|
constructor(config: ReadonlyConfig);
|
|
26
|
-
view():
|
|
10
|
+
view(): View<SidebarEntrypointOptions>;
|
|
27
11
|
manifest(): Promise<ManifestSidebar | undefined>;
|
|
28
12
|
manifestByAlias(): Promise<SidebarNameToManifest>;
|
|
29
13
|
clear(): this;
|
|
30
14
|
}
|
|
31
|
-
|
|
32
|
-
export { type SidebarNameToManifest, export_default as default };
|
|
@@ -1,17 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
import 'html-rspack-tags-plugin';
|
|
5
|
-
import '../../../../types/app.js';
|
|
6
|
-
import '../../../../types/browser.js';
|
|
7
|
-
import '../../../../manifest-DKvERQ4d.js';
|
|
8
|
-
import 'react';
|
|
9
|
-
import 'utility-types';
|
|
10
|
-
import '../../../../types/helpers.js';
|
|
11
|
-
import '../../../../types/locale.js';
|
|
12
|
-
import '../../../../types/env.js';
|
|
13
|
-
|
|
14
|
-
declare class export_default extends FileBuilder {
|
|
1
|
+
import { FileBuilder } from "../../../plugins/typescript/index.js";
|
|
2
|
+
import { ReadonlyConfig } from "../../../../types/config.js";
|
|
3
|
+
export default class extends FileBuilder {
|
|
15
4
|
protected alias: Set<string>;
|
|
16
5
|
constructor(config: ReadonlyConfig);
|
|
17
6
|
protected filename(): string;
|
|
@@ -19,5 +8,3 @@ declare class export_default extends FileBuilder {
|
|
|
19
8
|
protected template(): string;
|
|
20
9
|
setAlias(alias: Set<string>): this;
|
|
21
10
|
}
|
|
22
|
-
|
|
23
|
-
export { export_default as default };
|
|
@@ -1,13 +1 @@
|
|
|
1
|
-
export { default as SidebarDeclaration } from
|
|
2
|
-
import '../../../../config-BaSTGrd0.js';
|
|
3
|
-
import '@rspack/core';
|
|
4
|
-
import 'html-rspack-tags-plugin';
|
|
5
|
-
import '../../../../types/app.js';
|
|
6
|
-
import '../../../../types/browser.js';
|
|
7
|
-
import '../../../../manifest-DKvERQ4d.js';
|
|
8
|
-
import 'react';
|
|
9
|
-
import 'utility-types';
|
|
10
|
-
import '../../../../types/helpers.js';
|
|
11
|
-
import '../../../../types/locale.js';
|
|
12
|
-
import '../../../../types/env.js';
|
|
13
|
-
import '../../typescript/FileBuilder.js';
|
|
1
|
+
export { default as SidebarDeclaration } from "./SidebarDeclaration.js";
|
|
@@ -1,15 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import 'html-rspack-tags-plugin';
|
|
4
|
-
import '../../../types/app.js';
|
|
5
|
-
import '../../../types/browser.js';
|
|
6
|
-
import '../../../manifest-DKvERQ4d.js';
|
|
7
|
-
import 'react';
|
|
8
|
-
import 'utility-types';
|
|
9
|
-
import '../../../types/helpers.js';
|
|
10
|
-
import '../../../types/locale.js';
|
|
11
|
-
import '../../../types/env.js';
|
|
12
|
-
|
|
13
|
-
declare const _default: PluginDefinition<[]>;
|
|
14
|
-
|
|
15
|
-
export { _default as default };
|
|
1
|
+
declare const _default: import("../../../main/plugin.js").PluginDefinition<[]>;
|
|
2
|
+
export default _default;
|
|
@@ -1,15 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import 'html-rspack-tags-plugin';
|
|
4
|
-
import '../../types/app.js';
|
|
5
|
-
import '../../types/browser.js';
|
|
6
|
-
import '../../manifest-DKvERQ4d.js';
|
|
7
|
-
import 'react';
|
|
8
|
-
import 'utility-types';
|
|
9
|
-
import '../../types/helpers.js';
|
|
10
|
-
import '../../types/locale.js';
|
|
11
|
-
import '../../types/env.js';
|
|
12
|
-
|
|
13
|
-
declare const _default: PluginDefinition<[]>;
|
|
14
|
-
|
|
15
|
-
export { _default as default };
|
|
1
|
+
declare const _default: import("../../main/plugin.js").PluginDefinition<[]>;
|
|
2
|
+
export default _default;
|
|
@@ -1,16 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import 'html-rspack-tags-plugin';
|
|
4
|
-
import '../../../types/app.js';
|
|
5
|
-
import '../../../types/browser.js';
|
|
6
|
-
import '../../../manifest-DKvERQ4d.js';
|
|
7
|
-
import 'react';
|
|
8
|
-
import 'utility-types';
|
|
9
|
-
import '../../../types/helpers.js';
|
|
10
|
-
import '../../../types/locale.js';
|
|
11
|
-
import '../../../types/env.js';
|
|
12
|
-
|
|
13
|
-
declare abstract class FileBuilder {
|
|
1
|
+
import { ReadonlyConfig } from "../../../types/config.js";
|
|
2
|
+
export default abstract class FileBuilder {
|
|
14
3
|
protected readonly config: ReadonlyConfig;
|
|
15
4
|
private _file?;
|
|
16
5
|
protected abstract filename(): string;
|
|
@@ -24,5 +13,3 @@ declare abstract class FileBuilder {
|
|
|
24
13
|
protected readFile(): string;
|
|
25
14
|
build(): this;
|
|
26
15
|
}
|
|
27
|
-
|
|
28
|
-
export { FileBuilder as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/cli/plugins/typescript/FileBuilder.ts"],"sourcesContent":["import fs from \"fs\";\nimport path from \"path\";\n\nimport {fromRootPath, getResolvePath} from \"@cli/resolvers/path\";\n\nimport {PackageName, SystemDir} from \"@typing/app\";\nimport {ReadonlyConfig} from \"@typing/config\";\n\nexport default abstract class FileBuilder {\n private _file?: string;\n\n protected abstract filename(): string;\n\n protected abstract template(): string;\n\n public static make<T extends FileBuilder>(this: new (config: ReadonlyConfig) => T, config: ReadonlyConfig): T {\n return new this(config).build();\n }\n\n protected constructor(protected readonly config: ReadonlyConfig) {}\n\n protected content(): string {\n return this.template().replaceAll(\":package\", PackageName);\n }\n\n protected withBanner(): boolean {\n return true;\n }\n\n protected file(): URL {\n return new URL(`./${this.filename()}`, this.url());\n }\n\n protected url(): string {\n return import.meta.url;\n }\n\n protected readFile(): string {\n return (this._file ??= fs.readFileSync(this.file(), {encoding: \"utf-8\"}));\n }\n\n public build(): this {\n const systemDirPath = getResolvePath(fromRootPath(this.config, SystemDir));\n\n let content = this.content().replaceAll(\"// prettier-ignore\", \"\");\n\n if (this.withBanner()) {\n const banner = \"// This file is automatically generated. \\n\\n\";\n\n content = `${banner}${content}`;\n }\n\n fs.mkdirSync(systemDirPath, {recursive: true});\n\n fs.writeFileSync(path.join(systemDirPath, this.filename()), content);\n\n return this;\n }\n}\n"],"mappings":"AAAA,OAAO,QAAQ;AACf,OAAO,UAAU;AAEjB,SAAQ,cAAc,sBAAqB;AAE3C,SAAQ,aAAa,iBAAgB;AAGrC,MAAO,YAAmC;AAAA,EAW5B,YAA+B,QAAwB;AAAxB;AAAA,EAAyB;AAAA,
|
|
1
|
+
{"version":3,"sources":["../../../../src/cli/plugins/typescript/FileBuilder.ts"],"sourcesContent":["import fs from \"fs\";\nimport path from \"path\";\n\nimport {fromRootPath, getResolvePath} from \"@cli/resolvers/path\";\n\nimport {PackageName, SystemDir} from \"@typing/app\";\nimport {ReadonlyConfig} from \"@typing/config\";\n\nexport default abstract class FileBuilder {\n private _file?: string;\n\n protected abstract filename(): string;\n\n protected abstract template(): string;\n\n public static make<T extends FileBuilder>(this: new (config: ReadonlyConfig) => T, config: ReadonlyConfig): T {\n return new this(config).build();\n }\n\n protected constructor(protected readonly config: ReadonlyConfig) {}\n\n protected content(): string {\n return this.template().replaceAll(\":package\", PackageName);\n }\n\n protected withBanner(): boolean {\n return true;\n }\n\n protected file(): URL {\n return new URL(`./${this.filename()}`, this.url());\n }\n\n protected url(): string {\n return import.meta.url;\n }\n\n protected readFile(): string {\n return (this._file ??= fs.readFileSync(this.file(), {encoding: \"utf-8\"}));\n }\n\n public build(): this {\n const systemDirPath = getResolvePath(fromRootPath(this.config, SystemDir));\n\n let content = this.content().replaceAll(\"// prettier-ignore\", \"\");\n\n if (this.withBanner()) {\n const banner = \"// This file is automatically generated. \\n\\n\";\n\n content = `${banner}${content}`;\n }\n\n fs.mkdirSync(systemDirPath, {recursive: true});\n\n fs.writeFileSync(path.join(systemDirPath, this.filename()), content);\n\n return this;\n }\n}\n"],"mappings":"AAAA,OAAO,QAAQ;AACf,OAAO,UAAU;AAEjB,SAAQ,cAAc,sBAAqB;AAE3C,SAAQ,aAAa,iBAAgB;AAGrC,MAAO,YAAmC;AAAA,EAW5B,YAA+B,QAAwB;AAAxB;AAAA,EAAyB;AAAA,EAAzB;AAAA,EAVjC;AAAA,EAMR,OAAc,KAAqE,QAA2B;AAC1G,WAAO,IAAI,KAAK,MAAM,EAAE,MAAM;AAAA,EAClC;AAAA,EAIU,UAAkB;AACxB,WAAO,KAAK,SAAS,EAAE,WAAW,YAAY,WAAW;AAAA,EAC7D;AAAA,EAEU,aAAsB;AAC5B,WAAO;AAAA,EACX;AAAA,EAEU,OAAY;AAClB,WAAO,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC,IAAI,KAAK,IAAI,CAAC;AAAA,EACrD;AAAA,EAEU,MAAc;AACpB,WAAO,YAAY;AAAA,EACvB;AAAA,EAEU,WAAmB;AACzB,WAAQ,KAAK,UAAL,KAAK,QAAU,GAAG,aAAa,KAAK,KAAK,GAAG,EAAC,UAAU,QAAO,CAAC;AAAA,EAC3E;AAAA,EAEO,QAAc;AACjB,UAAM,gBAAgB,eAAe,aAAa,KAAK,QAAQ,SAAS,CAAC;AAEzE,QAAI,UAAU,KAAK,QAAQ,EAAE,WAAW,sBAAsB,EAAE;AAEhE,QAAI,KAAK,WAAW,GAAG;AACnB,YAAM,SAAS;AAEf,gBAAU,GAAG,MAAM,GAAG,OAAO;AAAA,IACjC;AAEA,OAAG,UAAU,eAAe,EAAC,WAAW,KAAI,CAAC;AAE7C,OAAG,cAAc,KAAK,KAAK,eAAe,KAAK,SAAS,CAAC,GAAG,OAAO;AAEnE,WAAO;AAAA,EACX;AACJ;","names":[]}
|
|
@@ -1,18 +1,7 @@
|
|
|
1
|
-
import { TsConfigJson } from
|
|
2
|
-
import FileBuilder from
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
import 'html-rspack-tags-plugin';
|
|
6
|
-
import '../../../types/app.js';
|
|
7
|
-
import '../../../types/browser.js';
|
|
8
|
-
import '../../../manifest-DKvERQ4d.js';
|
|
9
|
-
import 'react';
|
|
10
|
-
import 'utility-types';
|
|
11
|
-
import '../../../types/helpers.js';
|
|
12
|
-
import '../../../types/locale.js';
|
|
13
|
-
import '../../../types/env.js';
|
|
14
|
-
|
|
15
|
-
declare class export_default extends FileBuilder {
|
|
1
|
+
import { TsConfigJson } from "type-fest";
|
|
2
|
+
import FileBuilder from "./FileBuilder.js";
|
|
3
|
+
import { ReadonlyConfig } from "../../../types/config.js";
|
|
4
|
+
export default class extends FileBuilder {
|
|
16
5
|
protected readonly vendorAliases: {
|
|
17
6
|
"adnbn/browser": string;
|
|
18
7
|
"adnbn/storage": string;
|
|
@@ -27,5 +16,3 @@ declare class export_default extends FileBuilder {
|
|
|
27
16
|
paths(): Record<string, string[]>;
|
|
28
17
|
json(): TsConfigJson;
|
|
29
18
|
}
|
|
30
|
-
|
|
31
|
-
export { export_default as default };
|
|
@@ -1,14 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
import '../FileBuilder.js';
|
|
4
|
-
import '../../../../config-BaSTGrd0.js';
|
|
5
|
-
import '@rspack/core';
|
|
6
|
-
import 'html-rspack-tags-plugin';
|
|
7
|
-
import '../../../../types/app.js';
|
|
8
|
-
import '../../../../types/browser.js';
|
|
9
|
-
import '../../../../manifest-DKvERQ4d.js';
|
|
10
|
-
import 'react';
|
|
11
|
-
import 'utility-types';
|
|
12
|
-
import '../../../../types/helpers.js';
|
|
13
|
-
import '../../../../types/locale.js';
|
|
14
|
-
import '../../../../types/env.js';
|
|
1
|
+
export * from "./transport/index.js";
|
|
2
|
+
export * from "./vendor/index.js";
|