Skip to content

Commit ae5217f

Browse files
committed
fix(index): fix export file
1 parent 8480679 commit ae5217f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"test": "test"
2323
},
2424
"scripts": {
25-
"build": "babel src --out-dir lib --source-maps",
25+
"build": "NODE_ENV=production babel src --out-dir lib --source-maps",
2626
"watch": "babel src --out-dir lib --watch --source-maps",
2727
"prepublish": "npm run --if-present build",
2828
"test": "mocha"

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// LICENSE : MIT
22
"use strict";
33
import HTMLProcessor from "./HTMLProcessor";
4-
export default {
4+
module.exports = {
55
Processor: HTMLProcessor
6-
}
6+
};

0 commit comments

Comments
 (0)