Skip to content

Commit 426b305

Browse files
author
Hasan Genc
committed
Remove data attribute replacer
1 parent 6b3b7d1 commit 426b305

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@trendyol-js/react-carousel",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "Lightweight carousel component for react",
55
"main": "dist/cjs/index.js",
66
"module": "dist/es/index.js",

rollup.config.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import pkg from './package.json';
44
import typescript from 'rollup-plugin-typescript2';
55
import autoprefixer from 'autoprefixer';
66
import { terser } from 'rollup-plugin-terser';
7-
import replace from '@rollup/plugin-replace';
87

98
const isProduction = process.env.BUILD === 'production';
109

@@ -31,7 +30,6 @@ export default {
3130
writeDefinitions: true,
3231
}),
3332
typescript({ useTsconfigDeclarationDir: true }),
34-
isProduction && replace({ 'data-testid': '' }),
3533
isProduction && terser(),
3634
],
3735
external: {

0 commit comments

Comments
 (0)