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 committed Apr 25, 2024
1 parent af5a66d commit 6ecaaad
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 @@ -193,8 +193,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 6ecaaad

Please sign in to comment.