amp-cli: update entrypoint
This commit is contained in:
@@ -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
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user