We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bf96a6 commit d6ee7f8Copy full SHA for d6ee7f8
extensions/basic-setup/package.json
@@ -18,7 +18,8 @@
18
},
19
"scripts": {
20
"watch": "tsbb watch src/*.ts --use-babel",
21
- "build": "tsbb build src/*.ts --use-babel"
+ "build": "tsbb build src/*.ts --use-babel && npm run setmodule",
22
+ "setmodule": "echo '{\"type\":\"module\"}' > esm/package.json && echo '{\"type\":\"commonjs\"}' > cjs/package.json"
23
24
"repository": {
25
"type": "git",
0 commit comments