Skip to content

Commit

Permalink
Merge pull request #309 from nihalgonsalves/ng/fix-rollup-esm-output
Browse files Browse the repository at this point in the history
Fix rollup .mjs extension
  • Loading branch information
yhatt committed Dec 14, 2023
2 parents 1412fce + 42dfb68 commit c85ecaa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions docs/block-elements.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ Similar to `<Button>`, but for running a [link trigger](https://api.slack.com/au
customizable_input_parameters: [
{
name: 'input_parameter_a',
value: 'Value for input param A'
value: 'Value for input param A',
},
{
name: 'input_parameter_b',
value: 'Value for input param B'
}
]
}
value: 'Value for input param B',
},
],
},
}}
>
Run Workflow
Expand Down
4 changes: 2 additions & 2 deletions rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ export default [
// https://github.com/rollup/rollup/issues/3684#issuecomment-1535836196
entryFileNames: (chunkInfo) =>
chunkInfo.name.includes('node_modules')
? `${chunkInfo.name.replace('node_modules', 'vendor')}.js`
: '[name].js',
? `${chunkInfo.name.replace('node_modules', 'vendor')}.mjs`
: '[name].mjs',
},
},
]

0 comments on commit c85ecaa

Please sign in to comment.