Skip to content

Commit d82c494

Browse files
committed
amp-cli: update entrypoint
1 parent 2387b84 commit d82c494

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkgs/by-name/am/amp-cli/package.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ buildNpmPackage (finalAttrs: {
4040
# Create a wrapper script that will be installed by npm
4141
cat > bin/amp-wrapper.js << EOF
4242
#!/usr/bin/env node
43-
require('@sourcegraph/amp/dist/amp.js')
43+
import('@sourcegraph/amp/dist/main.js')
4444
EOF
4545
chmod +x bin/amp-wrapper.js
4646
'';

0 commit comments

Comments
 (0)