-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: re-enable react-storybook-addon and babel-make-styles for reac…
…t-components (#21247) * fix(react-storybook-addon): make devloop and package usage within storybook work * chore(react-components): make sb start work with babel-make-styles and react-sb-addon * Change files
- Loading branch information
Showing
6 changed files
with
16 additions
and
17 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
change/@fluentui-react-components-9d99eb03-ece2-4410-be0a-ef3e876c43b3.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "none", | ||
"comment": "chore(react-components): make sb start work with babel-make-styles and react-sb-addon", | ||
"packageName": "@fluentui/react-components", | ||
"email": "[email protected]", | ||
"dependentChangeType": "none" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,9 @@ | ||
function config(entry = []) { | ||
// This entrypoint is deliberately set to ts for monorepo DX | ||
// However this is bad for publishing | ||
// https://github.com/microsoft/fluentui/issues/20474 | ||
// https://github.com/microsoft/fluentui/issues/18357 | ||
return [...entry, require.resolve('./src/preset/preview.ts')]; | ||
return [...entry, require.resolve('./lib/preset/preview')]; | ||
} | ||
|
||
function managerEntries(entry = []) { | ||
// This entrypoint is deliberately set to ts for monorepo DX | ||
// However this is bad for publishing | ||
// https://github.com/microsoft/fluentui/issues/20474 | ||
// https://github.com/microsoft/fluentui/issues/18357 | ||
return [...entry, require.resolve('./src/preset/manager.ts')]; | ||
return [...entry, require.resolve('./lib/preset/manager')]; | ||
} | ||
|
||
module.exports = { managerEntries, config }; |