diff options
Diffstat (limited to 'rollup.config.js')
-rw-r--r-- | rollup.config.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/rollup.config.js b/rollup.config.js index 78a4123..d04eb4e 100644 --- a/rollup.config.js +++ b/rollup.config.js | |||
@@ -29,16 +29,6 @@ const general = { | |||
29 | }, | 29 | }, |
30 | }, | 30 | }, |
31 | { | 31 | { |
32 | name: 'plain-draggable', | ||
33 | transform(code, id) { | ||
34 | if (id.includes('node_modules/plain-draggable/')) { | ||
35 | const removePattern = /window\.addEventListener\('scroll'[^\)]*\)/ | ||
36 | return `${code.replace(removePattern, "")}`; | ||
37 | } | ||
38 | return null; | ||
39 | }, | ||
40 | }, | ||
41 | { | ||
42 | name: 'mapclay', | 32 | name: 'mapclay', |
43 | resolveId(source) { | 33 | resolveId(source) { |
44 | if (source === 'mapclay' && existsSync(join('.', 'mapclay'))) { | 34 | if (source === 'mapclay' && existsSync(join('.', 'mapclay'))) { |