We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab7f027 commit 2a0d874Copy full SHA for 2a0d874
rollup.config.js
@@ -3,10 +3,6 @@ import image from "rollup-plugin-img";
3
import pkg from "./package.json";
4
5
const external = id => !id.startsWith("/") && !id.startsWith(".");
6
-const getBabelOptions = () => ({
7
- runtimeHelpers: true,
8
- plugins: ["@babel/transform-runtime"],
9
-});
10
11
export default {
12
input: "./src/ImageSlider.jsx",
@@ -15,7 +11,7 @@ export default {
15
format: "cjs",
16
},
17
13
plugins: [
18
- babel(getBabelOptions()),
14
+ babel({ runtimeHelpers: true }),
19
image({ limit: 1000 }),
20
],
21
external,
0 commit comments