Skip to content

Commit c726936

Browse files
committed
return back rollup
1 parent 07f9904 commit c726936

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

rollup.config.js

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ const bundle = (name, globalName, { globals = {}, ...baseConfig }, umdConfig) =>
4444
],
4545
}),
4646
alias({
47-
// entries: {
48-
// '@cubejs-client/core': '../cubejs-client-core/src/index.js',
49-
// },
47+
entries: {
48+
'@cubejs-client/core': '../cubejs-client-core/src/index.ts',
49+
},
5050
}),
5151
],
5252
};
@@ -133,21 +133,21 @@ const bundle = (name, globalName, { globals = {}, ...baseConfig }, umdConfig) =>
133133
];
134134
};
135135

136-
// export default bundle(
137-
// 'cubejs-client-core',
138-
// 'cubejs',
139-
// {
140-
// input: 'packages/cubejs-client-core/src/index.js',
141-
// },
142-
// {
143-
// input: 'packages/cubejs-client-core/src/index.umd.js',
144-
// }
145-
// )
146-
// .concat(
147-
148-
export default bundle('cubejs-client-ws-transport', 'CubejsWebSocketTransport', {
136+
export default bundle(
137+
'cubejs-client-core',
138+
'cubejs',
139+
{
140+
input: 'packages/cubejs-client-core/src/index.ts',
141+
},
142+
{
143+
input: 'packages/cubejs-client-core/src/index.umd.ts',
144+
}
145+
)
146+
.concat(
147+
bundle('cubejs-client-ws-transport', 'CubejsWebSocketTransport', {
149148
input: 'packages/cubejs-client-ws-transport/src/index.ts',
150149
})
150+
)
151151
.concat(
152152
bundle('cubejs-client-react', 'cubejsReact', {
153153
input: 'packages/cubejs-client-react/src/index.js',

0 commit comments

Comments
 (0)