Skip to content

Commit 025d3ca

Browse files
Update knip config to add rsc entry points
1 parent c03589a commit 025d3ca

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

knip.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@ const config: KnipConfig = {
44
// ! at the end means files are used in production
55
workspaces: {
66
'.': {
7-
entry: ['node_package/src/ReactOnRails.ts!', 'node_package/src/ReactOnRails.node.ts!'],
7+
entry: [
8+
'node_package/src/ReactOnRails.ts!',
9+
'node_package/src/ReactOnRails.node.ts!',
10+
'node_package/src/ReactOnRailsRSC.ts!',
11+
'node_package/src/RSCWebpackLoader.ts!',
12+
],
813
project: ['node_package/src/**/*.[jt]s!', 'node_package/tests/**/*.[jt]s'],
914
babel: {
1015
config: ['node_package/babel.config.js'],
@@ -26,6 +31,7 @@ const config: KnipConfig = {
2631
'eslint-plugin-react',
2732
// Used in CI
2833
'@arethetypeswrong/cli',
34+
'react-server-dom-webpack',
2935
],
3036
},
3137
'spec/dummy': {

0 commit comments

Comments
 (0)