amp-cli: update entrypoint

This commit is contained in:
Keegan Carruthers-Smith
2025-08-01 14:56:30 +02:00
parent 2387b8411f
commit d82c4943a0
+1 -1
View File
@@ -40,7 +40,7 @@ buildNpmPackage (finalAttrs: {
# Create a wrapper script that will be installed by npm
cat > bin/amp-wrapper.js << EOF
#!/usr/bin/env node
require('@sourcegraph/amp/dist/amp.js')
import('@sourcegraph/amp/dist/main.js')
EOF
chmod +x bin/amp-wrapper.js
'';