Skip to content

Commit

Permalink
pw_web: Fix rollup config to inline dynamic imports in logging.ts
Browse files Browse the repository at this point in the history
Change-Id: I9253ff055fb19bd8960b696b94c2ef51a940bf29
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/152271
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Pigweed-Auto-Submit: Asad Memon <asadmemon@google.com>
Reviewed-by: Luis Flores <lesprit@google.com>
  • Loading branch information
asadm authored and CQ Bot Account committed Jun 26, 2023
1 parent bfd2dd5 commit 0b04368
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,13 @@ export default [
format: 'umd',
sourcemap: true,
name: 'PigweedLogging',
inlineDynamicImports: true
},
{
file: path.join('dist', 'logging.mjs'),
format: 'esm',
sourcemap: true,
inlineDynamicImports: true
}
],
plugins: [
Expand Down

0 comments on commit 0b04368

Please sign in to comment.