Skip to content

Commit 6b3e068

Browse files
committed
Move babel retain lines into babelrc
1 parent 67f786e commit 6b3e068

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.babelrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,6 @@
2121
}],
2222
"add-module-exports",
2323
"transform-inline-imports-commonjs"
24-
]
24+
],
25+
"retainLines": true
2526
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"main": "lib/index.js",
1010
"scripts": {
1111
"clean": "del-cli lib/ coverage/ example/build example/dist",
12-
"compile": "babel --retain-lines src/ --out-dir lib/",
12+
"compile": "babel src/ --out-dir lib/",
1313
"cover": "jest --coverage",
1414
"preexample": "npm run clean && npm run compile",
1515
"example": "webpack --config example/webpack.config.dll.js && webpack --config example/webpack.config.js",

0 commit comments

Comments
 (0)