Skip to content

Commit

Permalink
removed umd polyfill for pcx (#6289)
Browse files Browse the repository at this point in the history
  • Loading branch information
kpal81xd authored and Martin Valigursky committed May 14, 2024
1 parent 9751ca8 commit 6fdbcad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions utils/rollup-build-target.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,7 @@ function buildTarget({ moduleFormat, buildType, input = 'src/index.js', dir = 'b
name: 'pc',
preserveModules: !bundled,
file: bundled ? `${dir}/${OUT_PREFIX[buildType]}${isUMD ? '.js' : '.mjs'}` : undefined,
dir: !bundled ? `${dir}/${OUT_PREFIX[buildType]}` : undefined,
footer: isUMD ? 'this.pcx = pc;' : undefined
dir: !bundled ? `${dir}/${OUT_PREFIX[buildType]}` : undefined
},
plugins: [
resolve(),
Expand Down

0 comments on commit 6fdbcad

Please sign in to comment.