Skip to content

Commit 4440d56

Browse files
committed
chore: drop legacy hack
Latest diffpatch@0.6.0 ships without cruft (:tm:)
1 parent 230c228 commit 4440d56

File tree

3 files changed

+2
-24
lines changed

3 files changed

+2
-24
lines changed

package-lock.json

Lines changed: 1 addition & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@
3939
"esm": "^3.0.24",
4040
"mocha": "^8.4.0",
4141
"npm-run-all": "^4.1.2",
42-
"rollup": "^4.19.0",
43-
"rollup-plugin-hypothetical": "^2.1.0"
42+
"rollup": "^4.19.0"
4443
},
4544
"dependencies": {
4645
"diffpatch": "^0.6.0",

rollup.config.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import hypothetical from 'rollup-plugin-hypothetical';
21
import nodeResolve from '@rollup/plugin-node-resolve';
32

43
import pkg from './package.json';
@@ -19,17 +18,6 @@ export default [
1918
function pgl(plugins = []) {
2019

2120
return [
22-
hypothetical({
23-
allowFallthrough: true,
24-
files: {
25-
'chalk': `
26-
export default null;
27-
`,
28-
'diff-match-patch': `
29-
export default null;
30-
`
31-
}
32-
}),
3321
nodeResolve(),
3422
...plugins
3523
];

0 commit comments

Comments
 (0)