Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
-/
node_modules/
package-lock.json
module.exports = {
"package_path": "./-/",
"package_root": "/-/"
}
<!doctype html>
<head>
<script type="module">
import * as d3 from '/-/d3@5.9.2.bundle.js';
d3.select('#hello').text('Hello World!!');
</script>
</head>
<body>
<div id="hello">What</div>
</body>
</html>
{
"name": "@swimlane/airdrop-example",
"private": true,
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"airdrop": "airdrop add d3@5.9.2 --bundle --optimize --clean"
},
"author": "",
"license": "MIT",
"devDependencies": {
"@swimlane/airdrop-cli": "^1.0.0-rc1.6"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.