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 c12691e commit da4202bCopy full SHA for da4202b
package.json
@@ -1,10 +1,11 @@
1
{
2
"name": "preact-render-to-string",
3
+ "amdName": "preactRenderToString",
4
"version": "1.4.1",
5
"description": "Render JSX to an HTML string, with support for Preact components.",
6
"main": "dist/index.js",
7
"scripts": {
- "build": "babel src -s -d dist",
8
+ "build": "babel src -s -d dist --module-id $npm_package_amdName",
9
"test": "eslint {src,test} && mocha --compilers js:babel/register test/**/*.js",
10
"prepublish": "npm run build",
11
"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