Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Commit fc266fa

Browse files
committed
remove docs-as-package references
1 parent 535ad3a commit fc266fa

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

packages/perf-test/.digest/config.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ import * as React from 'react'
22
import { Provider, themes } from '@fluentui/react'
33

44
const reqContexts = [
5-
require.context('@fluentui/docs/src', true, /\.perf\.tsx$/),
5+
// TODO (@ecraig12345) - switch to @fluentui/docs and add dep
6+
require.context('../../../docs/src', true, /\.perf\.tsx$/),
67
require.context('..', true, /\.perf\.tsx$/),
78
// TODO: why does this break index.html?? seems to pull in stories the same way...
89
// require.context('../stories', true, /\.perf\.tsx$/),

packages/perf-test/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"perf:test": "just-scripts perf-test"
1616
},
1717
"devDependencies": {
18-
"@fluentui/docs": "^0.43.0",
1918
"@fluentui/digest": "^0.43.0",
2019
"@types/react": "^16.8.10",
2120
"@types/react-dom": "^16.8.3",

perf/src/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ const Profiler = (React as any).unstable_Profiler
1313

1414
const mountNode = document.querySelector('#root')
1515
const performanceExamplesContext = require.context(
16-
'@fluentui/docs/src/examples/',
16+
// TODO (@ecraig12345) - switch to @fluentui/docs and add dep
17+
'../../docs/src/examples/',
1718
true,
1819
/.perf.tsx$/,
1920
)

0 commit comments

Comments
 (0)