Skip to content

Releases: teambit/bit

v0.1.48

21 May 15:22
Compare
Choose a tag to compare

New Features

  • Better handking of missing dependencies (use bit install --add-missing-deps to automatically install missing dependencies) (#7412, #7264)
    -bit insight --include-deps shows circular dependencies of extenral dependnecies (i.e, dependencies not maintained in the same workspace) (#7407)
  • Ignore the builds of specific dependencies. The "preinstall", "install", and "postinstall" scripts of the listed packages will not be executed during installation.
    For example { "@teambit.dependencies/dependency-resolver": { "neverBuiltDependencies": ["fsevents", "level"]}} (#7387)

Changes

  • bit merge without component IDs merges all components (#7427)
  • Improved dev ex. Ignore component versions when using patterns for better pattern matching (#7416)
  • Components in a lane can created usingt the same component name of a previously soft-removed component (requires a different scope) (#7413)
  • Remove lane-id from .bitmap when running bit init with --reset-lane-new flag. This is helpful when you want the source file changes but not the lane these changes are part of. (#7408)
  • When merging lanes exclude components that were soft-removed from the lane (#7402)
  • Improve bit statu message from "snapped components" to "snapped components (tag pending)" (#7403)

Bug Fixes

  • bit artifacts COMPONENT_PATTERN supports using component to retrieve artifacts of staged componetns (#7423)
  • Fetch and save original lane when --lanes was used (#7425)
  • Output fix. Remove suggestion for tag [version] which is not supported anymore (#7424)
  • Fix error message when soft-remove from a new lane to suggest the new flag --delete (#7420)
  • Fix error "Cannot read properties of undefined when poilicies are missing (#7431)
  • Remove dists and symlinks from node_modules/component-package-dir upon file removal. This makes sure removed components are not available for consumption. (#7411)

Internal

  • Repeat the warning message when a scope is not responsive (#7426)
  • Update pnpm (#7421)
  • Write original pnpm error to debug.log (#7418)
  • Change import methods to work with one lane instead of an array (#7414)
  • Introduce "--pattern" to import part of a lane (#7410)
  • Make webpack config mutators types more relaxed (#7409)
  • node_modules linking is done by the package manager (#7176)

v0.1.42

14 May 13:05
Compare
Choose a tag to compare

New Features

  • React (core) env and react (core) app types can be configured to use a different instance of webpack and webpack dev server (#7382, #7385)
  • Generate a visual graph (PNG file) with the component's history when running bit cat-version-history COMPONENT_ID --graph (#7377)

Changes

  • Webpack upgraded from version 5.51.0 to version 5.81.1 (#7389, #7390)
  • Webpack Dev Server upgraded from version 4.1.1 to version 4.15.0 (#7389, #7390)
  • Removed: bit checkout --reset and bit checkout --skip-npm-install (#7396)

Performance

  • Serve pre-built Workspae UI artifacts to boost bit start loading time (#7336)
  • Workspace components are no longer loaded on bit run APP_NAME (#7379)
  • Aspects that are listed as another aspect dependencies (static dependencies = []) are only loaded if they are listed in the workspace.jsonc (#7370)

Bug Fixes

  • Better handling of circular dependencies to avoid infinite loops (#7355)
  • Improve 'lanes' stability (#7397, #7391, #7388, #7275, #7386, #7378, #7376)
  • When importing a component, add to .bitmap file before starting the installation process (#7392)
  • Resolve peer dependencies correctly in preview-template-task (#7395)
  • Merge ModelComponent from different remotes (#7401)
  • Clean node_modules only after all iteration of installation were completed to avoid irrelevant error messages (#7369)

Internal

  • Move checkout-version from legacy to 'checkout' aspect (#7399)
  • Rename component-index.ts to scope-index.ts according to the class name (#7398)
  • Extend 'artifact storage error' to with the original error message (#7393)
  • Include component peer dependencies in the capsule component dependency graph (#7383)
  • Push all snaps from the original lane to the forked lane scope (#7380)
  • Improve http e2e-tests to show the full error from bit-start process (#7375)

v0.1.36

07 May 13:47
Compare
Choose a tag to compare

New Features

  • bit add support --env for setting up environment on component tracking (#7330)
  • Ability to pass OverviewOptions to component overview for more flexible component documentation (#7292)
  • bit doctor now supports --archive to tar an entire workspace to help reproduce issues (#7324)

Changes

  • Improved outputs for various commands and help outputs (#7358, #7362, #7313, #7306, #7349, #7366, #7353)
  • bit remove - improve syntax for --soft and --remote delete by moving to --delete and --hard (#7333)
  • When running bit env update, ensure components resolve env from workspace, if env is local (#7319)

Performance

  • Improvements for dependency installation performance (#7339, #7338)
  • Improve performance for fetching component data from server (#7352, #7360, #7335, #7334, #7325, #7317)
  • Lazy load artifact contents (#7316)
  • Filter core-aspects from aspect loading (#7344)

Bug Fixes

  • Solved an issue where ws-config didn't pass absolute path to tsconfig for eslint (#7348)
  • Fix several cases where component preview URL was not aligned, causing no documentation after export (#7357, #7342, #7341, #7326)
  • Fix error of log.message being boolean upon bit import (#7311)
  • Support additional "out of sync" case for Bit and Git, where need to recreate lane if local scope is new (#7329)
  • Avoid showing workspace conflicts when it Semver satisfied (#7351)
  • Block bit-sign to be running from the workspace (#7328)
  • Save env-id in .bitmap without a version when the env exists in the workspace (#7314)
  • only clean node_modules on the first install (#7310)
  • Add missing deps that are present in root policies to component manifests (#7307)
  • bit create gracefully link component to node_modules (#7251)

Internal

  • Generate UI pre-bundle for bit start (#7293)
  • Removing irrelevant dependencies (#7327, #7331, #7312)
  • Fetch current lane object first to find new comps (#7361)
  • Change the object cache default limit from 10K to 5K (#7315)
  • Exclude ui-bundle folder from .npmignore for core aspect (#7364)
  • Remove open-connections from the log on failure (#7359)
  • Log IDs to fetch if they are less than 10 (#7320)
  • Stop saving flattenedEdges inside the Version object (#7318)
  • Show a warning when operating against a very slow remote scope (#7345)
  • Remove experimental write-tsconfig command (moved to ws-config) (#7350)

v0.1.27

24 Apr 13:26
Compare
Choose a tag to compare

New Features

  • Introduce a new command recover to recover soft-removed components (#7225)
  • Ability to build type-components (#7252)
  • Allow environments to include custom dependency detectors (#7199)
  • Introduce a new command bit system log to print debug.log (#7300)

Changes

  • Compile renamed components gracefully upon bit rename (#7250)
  • Default to show capsule-list when no sub-command was entered for bit capsule (#7249)
  • Improved UI for Lane & Component Compare (#7243 #7262 #7233 #7254 #7279)
  • scope rename defaults to remove old links, create new links and compile (#7261)
  • Control abs/relative path for generated ws-config file.
  • Automated API Reference support isOptional (#7238)

Performance

  • Improve writing files performance by disabling fsync (#7226)
  • Avoid importing-delta when isolating non-modified comps (#7284)
  • Improve import performance when using --aspect (#7280)

Bug Fixes

  • Fixes for ws-config command (#7234 #7212)
  • Handle cases where bit install wanted to run more then once (#7210 #7209)
  • Better error handling and improved messages (#7248 #7223 #7244 #7286 #7281 #7302)
  • Protect from various edge cases in Lanes (#7258 #7211 #7242 #7285)
  • tag/snap - validate message type to be string (#7239, #7278)
  • Clear workspace cache before calculating component manifests (#7224)
  • Resolve ts-server from bit bundle (#7232)
  • Load (missing) non loaded aspects from components (#7222)
  • Fix homepage in package.json (#7220)
  • Avoid overriding mutated Version objects (#7216)
  • Skip broken symlinks when copying components to .bit_roots (#7214)
  • rename - in case of renaming aspect, update .bitmap config records accordingly (#7272)
  • Better support for yarn global cache creation on Windows (#7283)

Internal

  • Dependency audit fixes (#7218 #7215 #7236)
  • Add additional e2e tests for various found edge cases (#7259 #7253 #7247)
  • Add a map of hash:component-id for signed components (#7270)
  • Improve outputs for capsule creation and install command (#7267 #7291)
  • Use deps resolver to calculate component package name (#7266)
  • Update pnpm to v8 (#7263)
  • Dedicate a helper method for remote-remove (#7257)
  • Update Yarn (#6762)
  • Revert legacy detective entries (#7237)
  • Move detectors to package.json to make them available by Bit-legacy
  • Revamp: replace detectives with bit components (#7228)
  • Eject UI Comps (#7206)
  • Better control over setting dependencies for aspects (#7294 #7295)
  • Improve logging for various actions (#7303 #7299)
  • Make webpack configs type more relaxed (#7287)
  • Upgrade node to v16.16 on windows for circle ci (#7277)
  • Resolve env version when returning env descriptor from component graphql (#7290)

v0.1.11

28 Mar 10:26
Compare
Choose a tag to compare

New Features

  • Introduce --reset-lane-new for bit init to only reset lane components to new (#7184)
  • Introduce experimental bit ws-config command to add tooling configs to the workspace and sync with IDE (#7171 #7197)
  • Ability to edit HTML Template from config mutator (#7144)

Changes

  • Bit rename to rename files/variables/classes by default (#7168)
  • Show component-name in bold in snap and tag outputs (#7175)
  • Refresh UI for Lane Selector (#7154 #7186)

Bug Fixes

  • Alias --scope for --remote-scope for consistency in various commands (#7194)
  • Improve lane merge workflow (#7208 #7149 #7192 #7092)
  • Adding guardrails when using lanes (#7185 #7190 #7178)
  • Allow removing local lanes with the full-id (#7193)
  • Improve logs when installing packages on capsule (#7202)
  • Don't crash on symlinked directories when hard linking all files of a dir (on windows) (#7182)
  • Resolving tsserver client (#7207)

Internal

  • Avoid ignoring components that their ComponentMap is missing (#7183)
  • Avoid compiling scope components (#7188)
  • Fix onLoad event for component preview (#7195)
  • Set public-hoist-pattern to * when shamefully-hoist is true (#7201)
  • Add husky:install npm script (#7205)
  • docs, fix the description of WorkspaceContext.import method (#7203)
  • Add ability to provide alternateDescriptionPrefix LongProcessLogger.end function (#7200)
  • Eject design ui contributors (#7198)
  • Remove EXPORT_CENTRAL feature-flag, it is the default for a while now (#7164)
  • Add sqlite3 & sqlite as dependencies (#7177)
  • Make sure to load envs first when loading a list of aspects (#7179)
  • Link dependencies before installation (#7145)
  • Update README.md (#7173)
  • Save the flattenedEdges as a ref inside Version object (#7181)

v0.1.7

20 Mar 16:36
Compare
Choose a tag to compare

Changes

  • Set --entire-lane flag as default for bit lane checkout (#7152)

Bug Fixes

  • Load envs' templates correctly from workspace.jsonc (#7172)
  • Fetch versions that are shown in .bitmap but not in the lane object (#7167)
  • Allow ignoring files from components root-dir (#7163)
  • Write objects atomically (#7160)
  • Fix compilation error for content/cli-reference component (#7162)
  • Avoid loading envs that are not set via envs/envs if found an env previously (#7153)
  • Allow aspect-unset without specifying the aspect version (#7157)
  • Fix error "dest already exists" when removing a restored lane (#7156)
  • Consume plugin: display version for bit import, snap (#7151)

Internal

  • Remove old implementation of Stencil (#7170)
  • Better development sourcemaps for Webpack (#7147)
  • Make bit-lane command public (#7150)

v0.1.4

14 Mar 13:06
Compare
Choose a tag to compare

New Features

  • Support generating a component for bit create with --aspect or --env option (#7093)
  • Introduce "bit fork --no-link" flag to avoid saving a reference to the original comp (#7140)
  • Add option for bit login to pass custom login url (#7143)

Changes

  • --rename flag is now default for bit fork (#7146)
  • Remove pre-render by default from the react app template (#7132)

Bug Fixes

  • Fix Package version for snaps on main in use-dropdown (#7141)
  • On changing scope for a lane, block when lane is exported, throw when scope-name is invalid (#7139)
  • On bit status avoid showing components as pending-update when their remote-lane is empty (#7138)
  • Handle soft-remove on a new lane and import soft-removed components (#7137)
  • Add EnvId in preview url (#7136)
  • Fetch artifacts from main if possible (#7134)
  • Fix error text for bit reset, change untag to reset (#7130)
  • Fix incorrect domain in for new cloud (#7129)
  • Fix VersionNotFound error when resetting a lane after merge (#7121)
  • Remove * from url in Readme (#7108)

Internal

  • Fix aspects loading from scope (#7133)
  • Eject teambit.html/modules/render-template (#7135)

v0.1.0

08 Mar 13:01
Compare
Choose a tag to compare

New Features

  • Allow querying explicitly tagged exports for component schema (#7125)
  • Introduce "bit import --track-only" to only write entries to .bitmap (#7117)

Changes

  • Add note to lane create output if branched off non default lane on lane create (#7126)
  • Improve output around the current lane for bit status (#7114)
  • Block soft-remove main components when on a lane (#7112)

Performance

  • Update sourcemaps for faster builds of local dev-server (#7115)

Bug Fixes

  • Fix viewing new components on main (#7123)
  • Tag soft-removed components when using --unmodified flag (#7113)
  • Show the ids of pending-import in the error message (#7110)
  • Mark components as removed when the snap/tag was with ignore-issues (#7111)
  • Compare UI Fixes (#7102)
  • Fix error "exists in flattenedEdges but not in flattened" (#7107)
  • Avoid checking for soft-remove when using bit lane list --remote (#7099)

Internal

  • Support generating artifacts when bit sign on snaps (#7116)
  • Store envs data for env itself + load envs as aspect from scope (#7124)
  • Dedupe peer dependents (#7122)
  • Push artifacts to original scopes (#7119)
  • Resolve (installed) aspects in workspace from its node_modules (#6901)
  • Use the Version objects sent to the remote to indicate what was exported (#7109)
  • Import missing artifacts before starting the merge process (#7103)
  • Avoid adding deps from scope into merge-config (#7100)
  • Components Drawer: show Local changes to Lane Components (#7072)
  • Logging when zlib error is coming from the remote (#7097)
  • Return an empty object from a plugin auto generated provider (#7095)
  • Change a version coming from merge-config from a range to an exact version (#7096)

v0.0.1000

27 Feb 09:42
Compare
Choose a tag to compare

New Features

  • Improve dependency management with new commands: bit deps unset, bit deps reset, bit deps eject, bit deps blame (#7043 #6898 #6884 #6945)
  • Support more TS export cases for generating compositions (#7075)
  • Ability to restore deleted Lanes (#7074 #7050)
  • Introduce ability to compare between Lanes (#7011 #6998 #6778)
  • Update only owner name of a scope with bit scope rename-owner (#7023)
  • Ability to update implementation of forked components with bit fork ... --rename (#6955)
  • New Slot for aspects to expand and debug dev-server (#7037)
  • Introduce a new command bit envs update to update environment versions (#6909 #6862)
  • Support soft-tag for soft-removed components (#7029)
  • Load apps without needing to register them in workspace.jsonc (#6976)
  • Support dependencies detection for .cjs, .mjs, .mts, .cts extensions (#7009 #7038)
  • Add new service for environments - Schema (#6937 #6953 #6938 #6665)
  • Support ignoring deps by @bit-ignore comment (#6855 #6980)
  • Introduce a new command file-log to see file changes per snap (#6888)
  • Support linux-arm64 version for Bit (#6994)
  • Introduce --editor flag for bit snap (#6956)
  • Introduce --no-optional for bit install (#7030)

Changes

Performance

  • Avoid importing from main when on a lane (#6872)
  • Cache staged-snaps hashes to avoid fetching them from a remote (#7003)
  • Check the remote before exporting to filter out existing versions (#6992)
  • Do not build core-js (#6914)
  • Update pnpm and improve deduplication (#6876)

Bug Fixes

Internal

  • Remove code from legacy and move to components (#7089 #7060 #7033 #6987 #6982 #6977 #6970 #6971 #6969 #6965 #6950 #6946 #6943 #6932 #6922 #6912 #7013 #6857)
  • Remove many unneeded utils (#6643 #7066 #7064 #7063 #7070 #7068 #7067)
  • Ready for "new envs api" capabilities (#7040 #6973 #6957 #6933 #6934 #6874 #6780 #6846 #6940 #6926 #7005 #7000 #6904 #7048 #6869 #6963 #7004 #7077)
  • Ability to snap, tag and merge components from remote scopes (#7084 #7053 #7051 #7031 #6952 #6836 #7049 #6850 #6886 #7036)
  • Ability to "sign" a snap or a tag from a remote (#7078 #7028 #7017)
  • Update the registry mock (#7082)
  • Update pnpm version (#7069 #6993)
  • Move Bit to use rootComponents:true (#6642)
  • Re-format all source code with prettier (#7057)
  • Load apps as aspects (#6961)
  • Allow not adding the env id to the Preview URL (#7083)
  • Apply auto-detect-overrides regardless whether it was detected beforehand (#7088)
  • Improve application metadata type (#6947)
  • Resolve webpack-dev-server version for bit envs get <component> (#6939)
  • Allow configuring via bit config - cloud_domain and symphony_url (#6930)
  • Add addPostCssPlugins method to webpack config mutator (#6972)
  • Support getting an instance of webpack dev server instead of path to it (#6990)
  • Calculate tarball sha512 integrity when packing (#6989)
  • Refactor around pino-pretty (#6789 #6870)
  • Setting packageImportMethod for Yarn (#6860 #6871)
  • Add missing flattened and edges to new snap/tag (#6848)
  • Support reload scope's index.json if need (#6838)
  • Avoid loading envs aspects from various sources once an env is determined either by config or data (#6837)
  • Ensure generator is loaded before register slot (#6974)
  • Export component preview type (#6903)
  • Support multiple docs template and mounters on the same dev server (#6825)
  • Add app service transform func (#6847)
  • Group by envs and apps for rootComponents (#6800)
  • Improve component history handling (#7073 #6856 #6985 #6924)
  • Use the default store and cache locations for pnpm (#7039)
  • Add --skip-config to help in cases aspects fail to load during bit fork (#6910)
  • Introduce a new flag --one-line for bit log (#6885 #7012)
  • Introduce an API Server to run commands through HTTP server (#7056)
  • Fix id-graph to not use graph from the scope when a dependency is in the workspace (#6897)
  • Avoid writing staged-config file before bit tag is successful (#6852)

v0.0.945

27 Dec 08:40
Compare
Choose a tag to compare

New Features

  • New tab for exploring component's API reference (#6444)
  • Responsive top bar navigation in component page (#6709)
  • Add component ID and package name in component overview (#6698)
  • Keep workspace command history .bit/command-history (#6658)
  • Ability to view contents of non-binary artifact files (#6597, #6623)
  • Extract component Typescript schema (#6578, #6624, #6620)
  • Ability for 3-way merge of aspects config (#6791)
  • Support setting default bit registry in global config (#6807)
  • Introduce --internal flag to see the private commands (#6725)
  • Ability to version component on remote and control what to update (#6676, #6602, #6672)
  • Ability to check whether a lane is up to date (#6666)
  • Ability to checkout --entire-lane to get new components on a lane (#6661)
  • Support tracking files that starts with . (#6757)
  • Allow to skip compilation step when installing dependencies (#6687)
  • Ability to remove dependency of a specific type (#6625)
  • Support latest for checking-out the "tip" of component version history (#6619)
  • Ability to toposort components according to dependencies build order (#6701)
  • Ability to create and delete lanes from GQL (#6656)
  • Get lane diff via API (#6759)

Changes

  • fix(tag): use pre-release for auto-tag as well instead of patch (#6763)
  • Show all changes when comparing between lanes (#6817)
  • When no diff is visible, suggest --verbose option (#6752)
  • Update typescript to 4.7.4 (#6603)
  • Update core teambit.react/react to set allowJs: true by default (#6734)
  • Tester watch on start is set to false by default (#6747)
  • Print install and import duration, suppress object-count on ci (#6726)
  • Support --json output option for merge-lane flow (#6654)
  • List remote lanes (#6736)
  • Mocha tester to support typescript (#6621)
  • Add hash to the create-lane API (#6815)
  • Ability to skip UI build on bit start (#6634)
  • Fix OOM issues when running bit lint (#6816)

Bug Fixes

  • Better handling when fetching artifacts (#6751, #6776)
  • Add guard rails for bit dep set when adding a missing dependency (#6702)
  • Fix case when direct dependencies got duplicated (#6711)
  • Fix converting graph to ComponentGraph for handle runtime edges correctly (#6833)
  • Remove previous env even when not in the .bitmap (#6828)
  • Fix component id resolution from URL (#6821)
  • Ignore removed components when checking for MissingManuallyConfiguredPackages (#6814)
  • Better error when a command is running outside a workspace (#6806)
  • Avoid removing deps that were set before tag/snap (#6805)
  • Avoid showing duplicate MissingManuallyConfiguredPackages entries (#6812)
  • Recompile components with build-status failed (#6786)
  • Update links to command outputs to docs (#6605)
  • Load extensions only once after merging from different sources (#6769)
  • Handle log cases where missing entry were not imported (#6697)
  • Fix cases where import didn't pay attention to current lane (#6801)
  • UI fixes for viewing lanes (#6714)
  • Dist directories should not be removed after install (#6662)
  • UI fixes for usebox (#6783)
  • Bug fixes and edge cases around lanes merge (#6692, #6831, #6829, #6826, #6823, #6822, #6767, #6793, #6794, #6803, #6735, #6667)
  • Remove the undefined in bit-list header when using --scope flag (#6627)
  • bit rename --refactor to change only packages that have an exact match (#6618)
  • Fix a typos in command descriptions (#6640)
  • Fix rendering of lane selector when viewed lane changes (#6724)
  • Fix determine whether a component is new based also on .bitmap record (#6655)
  • Avoid overriding dependencies set before tag/snap (#6696)
  • bit status should not show missing deps incorrectly (#6710)
  • Remove stagedConfig for all exported components (#6732)
  • Avoid showing mocha tests output during bit-start (#6680)
  • Fix reset when the component is diverged on lane and has no head on main (#6678)
  • Avoid sending historical Version objects during export on lane (#6690)
  • pass pnpUnpluggedFolder to fix error on yarn install (#6834)
  • Filter out soft-removed from --entire-lane flag (#6713)
  • Avoid creating two instances of scope.repository after bit-cc (#6718)
  • Hoisting should not override linked components (#6788)
  • Don't rerun install for the same manifests again (#6755)
  • Fix missing scope-name in flattened-edge prop (#6774)
  • Resolve env-id correctly (#6632)
  • EnvNotConfiguredForComponent error to suggest running bit env set (#6601)

Performance

  • Improve import performance by fetching only the requested version (#6639)
  • Avoid fetching flattened dependencies (#6705)
  • Improve lane diff performance (#6799)
  • Yarn should use a content-addressable store (#6730)
  • Make history traversal faster by caching them in the fs (#6606)
  • Improve build-graph-from-fs performance by not trying to import existing deps (#6612)
  • Support Yarn global cache (#6717, #6729)
  • Avoid fetching flattened-deps when possible (#6785)
  • Get env preview data on load (#6616)

Internal

  • Prepare and stabilize rootComponents (#6750, #6782, #6631, #6675, #6691, #6688)
  • Prepare and stabilize envs as plugins (#6745, #6644, #6739, #6811, #6703, #6780, #6766, #6742, #6693)
  • Prepare and stabilize lane-compare (#6704, #6777, #6733. #6677, #6657, #6651)
  • Utilize the deps graph when possible (#6775)
  • Update babel packages to latest (#6604)
  • Upgrade pino (#6797)
  • Remove prodGraph prop from get-flattened-dependencies (#6728)
  • Utilize pino transport (Worker Thread) (#6798)
  • Update harmony version (#6781)
  • add default export to core aspects (#6694, #6779)
  • updated component highlighter not to use z-indexs component (#6808)
  • remove unnecessary code from component overview (#6699)
  • Update lint and prettier rules (#6741, #6740)
  • Avoid running mutliple on-start hooks in parallel (#6795)
  • Use BitError and not legacy error handler for VersionNotFound (#6638)
  • Remove export-metadata, it is not needed anymore (#6758)
  • Sync deps for component compare (#6773)
  • Avoid loading cli aspect twice (#6719)
  • Handle failures inside Mocha hooks (#6753)
  • Filter teambit/legacy from root policy (#6649)
  • Express route priority type (#6636)
  • Get the tsconfig from getCompiler API when possible (#6663)
  • Support variant config policy as array of object with name, version, hidden, force (#6810)
  • Handle loading aspect-root without a version (#6765)
  • Better logs around the removal of staged-config during export (#6715)
  • Use named export from aspect when generating link file for webpack (#6754)