Skip to content

Commit 59b621f

Browse files
cellogtimdorr
authored andcommitted
migrate index.js to typescript (reduxjs#3513)
Former-commit-id: 86253da
1 parent 1972c92 commit 59b621f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

rollup.config.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import pkg from './package.json'
99
export default [
1010
// CommonJS
1111
{
12-
input: 'src/index.js',
12+
input: 'src/index.ts',
1313
output: { file: 'lib/redux.js', format: 'cjs', indent: false },
1414
external: [
1515
...Object.keys(pkg.dependencies || {}),
@@ -24,7 +24,7 @@ export default [
2424

2525
// ES
2626
{
27-
input: 'src/index.js',
27+
input: 'src/index.ts',
2828
output: { file: 'es/redux.js', format: 'es', indent: false },
2929
external: [
3030
...Object.keys(pkg.dependencies || {}),
@@ -39,7 +39,7 @@ export default [
3939

4040
// ES for Browsers
4141
{
42-
input: 'src/index.js',
42+
input: 'src/index.ts',
4343
output: { file: 'es/redux.mjs', format: 'es', indent: false },
4444
plugins: [
4545
nodeResolve(),
@@ -63,7 +63,7 @@ export default [
6363

6464
// UMD Development
6565
{
66-
input: 'src/index.js',
66+
input: 'src/index.ts',
6767
output: {
6868
file: 'dist/redux.js',
6969
format: 'umd',
@@ -84,7 +84,7 @@ export default [
8484

8585
// UMD Production
8686
{
87-
input: 'src/index.js',
87+
input: 'src/index.ts',
8888
output: {
8989
file: 'dist/redux.min.js',
9090
format: 'umd',
File renamed without changes.

0 commit comments

Comments
 (0)