Skip to content

Commit fd4be4a

Browse files
committed
Fix broken babel sourcemaps
1 parent e596d48 commit fd4be4a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"main": "decko.js",
55
"description": "A collection of the most useful property decorators.",
66
"scripts": {
7-
"build": "babel src --source-root src -s -d .",
7+
"build": "babel -f $npm_package_main -s -o $npm_package_main < src/${npm_package_main}",
88
"test": "jshint src/**.js && mocha --compilers js:babel/register tests/**/*.js",
99
"prepublish": "npm run build",
1010
"release": "npm run build && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"

0 commit comments

Comments
 (0)