Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add default exports to lwc @W-13710298 #3997

Merged
merged 11 commits into from
Feb 16, 2024
Next Next commit
fix: include default exports in lwc re-exports
  • Loading branch information
wjhsf committed Feb 14, 2024
commit 66eb02240c2a66ada8fd60e10a19e25d372eecbc
3 changes: 2 additions & 1 deletion packages/lwc/babel-plugin-component.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/*
* Copyright (c) 2023, salesforce.com, inc.
* Copyright (c) 2024, salesforce.com, inc.
* All rights reserved.
* SPDX-License-Identifier: MIT
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/
export type * from '@lwc/babel-plugin-component';
export { default } from '@lwc/babel-plugin-component';
3 changes: 2 additions & 1 deletion packages/lwc/babel-plugin-component.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/*
* Copyright (c) 2023, salesforce.com, inc.
* Copyright (c) 2024, salesforce.com, inc.
* All rights reserved.
* SPDX-License-Identifier: MIT
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/
export * from '@lwc/babel-plugin-component';
export { default } from '@lwc/babel-plugin-component';
3 changes: 2 additions & 1 deletion packages/lwc/features.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/*
* Copyright (c) 2023, salesforce.com, inc.
* Copyright (c) 2024, salesforce.com, inc.
* All rights reserved.
* SPDX-License-Identifier: MIT
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/
export type * from '@lwc/features';
export { default } from '@lwc/features';
3 changes: 2 additions & 1 deletion packages/lwc/features.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/*
* Copyright (c) 2023, salesforce.com, inc.
* Copyright (c) 2024, salesforce.com, inc.
* All rights reserved.
* SPDX-License-Identifier: MIT
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/
export * from '@lwc/features';
export { default } from '@lwc/features';
3 changes: 2 additions & 1 deletion packages/lwc/rollup-plugin.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/*
* Copyright (c) 2023, salesforce.com, inc.
* Copyright (c) 2024, salesforce.com, inc.
* All rights reserved.
* SPDX-License-Identifier: MIT
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/
export type * from '@lwc/rollup-plugin';
export { default } from '@lwc/rollup-plugin';
3 changes: 2 additions & 1 deletion packages/lwc/rollup-plugin.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/*
* Copyright (c) 2023, salesforce.com, inc.
* Copyright (c) 2024, salesforce.com, inc.
* All rights reserved.
* SPDX-License-Identifier: MIT
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/
export * from '@lwc/rollup-plugin';
export { default } from '@lwc/rollup-plugin';
3 changes: 2 additions & 1 deletion packages/lwc/template-compiler.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/*
* Copyright (c) 2023, salesforce.com, inc.
* Copyright (c) 2024, salesforce.com, inc.
* All rights reserved.
* SPDX-License-Identifier: MIT
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/
export type * from '@lwc/template-compiler';
export { default } from '@lwc/template-compiler';
3 changes: 2 additions & 1 deletion packages/lwc/template-compiler.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/*
* Copyright (c) 2023, salesforce.com, inc.
* Copyright (c) 2024, salesforce.com, inc.
* All rights reserved.
* SPDX-License-Identifier: MIT
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/
export * from '@lwc/template-compiler';
export { default } from '@lwc/template-compiler';