You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -124,22 +100,6 @@ function createRootIndexAndDeclarations(
124
100
path: `${data.pkgPath}/src/index.ts`,
125
101
template: `${banner}export * from "./${target}";\n`,
126
102
});
127
-
128
-
pkgJSON.exports={
129
-
".": {
130
-
types: "./dist/index.d.ts",
131
-
import: "./dist/index.mjs",
132
-
require: "./dist/index.js",
133
-
},
134
-
...(data.createScss
135
-
? {
136
-
"./index.css": "./dist/index.css",
137
-
"./dist/index.css": "./dist/index.css",
138
-
"./styles": "./dist/index.css",
139
-
"./css": "./dist/index.css",
140
-
}
141
-
: {}),
142
-
};
143
103
}
144
104
145
105
// Create src/declaration.d.ts
@@ -158,7 +118,6 @@ function createRootIndexAndDeclarations(
158
118
path: `${root}index.ts`,
159
119
template: `${banner}/**\n * Server and client components must be exported from separate files.\n * This ensures correct behavior of the "use client" directive.\n */\n\n// ${target} component exports\n`,
0 commit comments