Skip to content

Commit

Permalink
add .module.min.js
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Jun 9, 2024
1 parent 4e046da commit a291890
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,23 @@ export default [
plugins,
...shared,
},
{
input: 'src/webgpu-utils.ts',
output: [
{
file: `${dist}/webgpu-utils.module.min.js`,
format: 'esm',
sourcemap: true,
freeze: false,
banner,
},
],
plugins: [
...plugins,
terser(),
],
...shared,
},
{
input: 'src/webgpu-utils.ts',
output: [
Expand Down

0 comments on commit a291890

Please sign in to comment.