Skip to content

Commit 14d2a9e

Browse files
🔧 config(babel): Refactor configuration.
1 parent 5fabfec commit 14d2a9e

File tree

1 file changed

+1
-65
lines changed

1 file changed

+1
-65
lines changed

package.json

Lines changed: 1 addition & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,6 @@
127127
"debug": {
128128
"sourceMaps": "both",
129129
"presets": [
130-
[
131-
"@babel/preset-env",
132-
{
133-
"targets": "current node"
134-
}
135-
],
136130
"babel-preset-power-assert"
137131
],
138132
"plugins": [
@@ -152,49 +146,13 @@
152146
"test": {
153147
"sourceMaps": "both",
154148
"presets": [
155-
[
156-
"@babel/preset-env",
157-
{
158-
"targets": "current node"
159-
}
160-
],
161149
"babel-preset-power-assert"
162-
],
163-
"plugins": [
164-
[
165-
"transform-remove-console",
166-
{
167-
"exclude": [
168-
"log",
169-
"error",
170-
"warn"
171-
]
172-
}
173-
]
174150
]
175151
},
176152
"cover": {
177153
"sourceMaps": "both",
178154
"presets": [
179-
[
180-
"@babel/preset-env",
181-
{
182-
"targets": "current node"
183-
}
184-
],
185155
"babel-preset-power-assert"
186-
],
187-
"plugins": [
188-
[
189-
"transform-remove-console",
190-
{
191-
"exclude": [
192-
"log",
193-
"error",
194-
"warn"
195-
]
196-
}
197-
]
198156
]
199157
},
200158
"development": {
@@ -209,18 +167,6 @@
209167
}
210168
],
211169
"babel-preset-power-assert"
212-
],
213-
"plugins": [
214-
[
215-
"transform-remove-console",
216-
{
217-
"exclude": [
218-
"log",
219-
"error",
220-
"warn"
221-
]
222-
}
223-
]
224170
]
225171
},
226172
"production": {
@@ -236,17 +182,7 @@
236182
]
237183
],
238184
"plugins": [
239-
"babel-plugin-unassert",
240-
[
241-
"transform-remove-console",
242-
{
243-
"exclude": [
244-
"log",
245-
"error",
246-
"warn"
247-
]
248-
}
249-
]
185+
"babel-plugin-unassert"
250186
]
251187
}
252188
}

0 commit comments

Comments
 (0)