Skip to content

Commit 3515958

Browse files
committed
ref: Remove rollup-modify-plugin as we dont use it anymore
1 parent 9d810e7 commit 3515958

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

packages/browser/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
"rollup": "^1.10.1",
4444
"rollup-plugin-commonjs": "^9.3.4",
4545
"rollup-plugin-license": "^0.8.1",
46-
"rollup-plugin-modify": "^3.0.0",
4746
"rollup-plugin-node-resolve": "^4.2.3",
4847
"rollup-plugin-terser": "^4.0.4",
4948
"rollup-plugin-typescript2": "^0.21.0",

packages/browser/rollup.config.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import typescript from 'rollup-plugin-typescript2';
33
import license from 'rollup-plugin-license';
44
import resolve from 'rollup-plugin-node-resolve';
55
import commonjs from 'rollup-plugin-commonjs';
6-
import modify from 'rollup-plugin-modify';
76

87
const commitHash = require('child_process')
98
.execSync('git rev-parse --short HEAD', { encoding: 'utf-8' })
@@ -47,11 +46,6 @@ const plugins = [
4746
mainFields: ['module'],
4847
}),
4948
commonjs(),
50-
modify({
51-
// It's very difficult to use Symbol without polyfilling in IE10 and still making TypeScript behave correctly.
52-
// Just remove it and leave this space in there, so that SourceMaps are still correct.
53-
"this[Symbol.toStringTag] = '[object SyncPromise]';": ' ',
54-
}),
5549
];
5650

5751
const bundleConfig = {

0 commit comments

Comments
 (0)