Skip to content

Commit f9a1dc0

Browse files
committed
fix "exports read only" error
1 parent ab2be1e commit f9a1dc0

File tree

7 files changed

+20
-143
lines changed

7 files changed

+20
-143
lines changed

.babelrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@
2222
"legacy": true
2323
}
2424
],
25+
[
26+
"@babel/plugin-transform-modules-commonjs",
27+
{
28+
"allowTopLevelThis": true
29+
}
30+
],
2531
"@babel/plugin-proposal-function-sent",
2632
"@babel/plugin-proposal-export-namespace-from",
2733
"@babel/plugin-proposal-numeric-separator",

dist/netlicensing-client.js

Lines changed: 4 additions & 69 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/netlicensing-client.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/netlicensing-client.min.js

Lines changed: 4 additions & 69 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/netlicensing-client.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
"@babel/plugin-proposal-throw-expressions": "^7.0.0",
7171
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
7272
"@babel/plugin-syntax-import-meta": "^7.0.0",
73+
"@babel/plugin-transform-modules-commonjs": "^7.2.0",
7374
"@babel/plugin-transform-runtime": "^7.1.0",
7475
"@babel/preset-env": "^7.1.6",
7576
"@babel/runtime": "^7.1.5",

0 commit comments

Comments
 (0)