Skip to content

Commit

Permalink
migrate index.js to typescript (reduxjs#3513)
Browse files Browse the repository at this point in the history
  • Loading branch information
cellog authored and timdorr committed Aug 16, 2019
1 parent 4c165fc commit 86253da
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import pkg from './package.json'
export default [
// CommonJS
{
input: 'src/index.js',
input: 'src/index.ts',
output: { file: 'lib/redux.js', format: 'cjs', indent: false },
external: [
...Object.keys(pkg.dependencies || {}),
Expand All @@ -24,7 +24,7 @@ export default [

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

// ES for Browsers
{
input: 'src/index.js',
input: 'src/index.ts',
output: { file: 'es/redux.mjs', format: 'es', indent: false },
plugins: [
nodeResolve(),
Expand All @@ -63,7 +63,7 @@ export default [

// UMD Development
{
input: 'src/index.js',
input: 'src/index.ts',
output: {
file: 'dist/redux.js',
format: 'umd',
Expand All @@ -84,7 +84,7 @@ export default [

// UMD Production
{
input: 'src/index.js',
input: 'src/index.ts',
output: {
file: 'dist/redux.min.js',
format: 'umd',
Expand Down
File renamed without changes.

0 comments on commit 86253da

Please sign in to comment.