Skip to content

Commit

Permalink
fix(rollup): fix build script
Browse files Browse the repository at this point in the history
  • Loading branch information
unadlib committed Sep 3, 2020
1 parent 7b78a5a commit 9c4546b
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,12 @@ export default isProduction
name: 'DataTransport',
file: pkg.unpkg,
sourcemap: true,
globals: {
uuid: 'uuid',
}
},
],
external: ['uuid'],
plugins: [
resolve(),
resolve({
browser: true,
}),
commonjs(),
replace({
__DEV__: 'false',
Expand All @@ -53,9 +51,10 @@ export default isProduction
sourcemap: true,
},
],
external: ['uuid'],
plugins: [
resolve(),
resolve({
browser: true,
}),
commonjs(),
replace({
__DEV__: 'true',
Expand Down

0 comments on commit 9c4546b

Please sign in to comment.