Skip to content

Instantly share code, notes, and snippets.

@kirbysayshi
Last active August 13, 2018 03:09
Show Gist options
  • Save kirbysayshi/f1c38d272cb3d5832342f8fc5c689fb6 to your computer and use it in GitHub Desktop.
Save kirbysayshi/f1c38d272cb3d5832342f8fc5c689fb6 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Test Page</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="index.ts"></script>
</head>
<body>
</body>
</html>
import { mat4 } from 'gl-matrix';
console.log('mat4?', mat4);
import { mat4 } from 'gl-matrix';
console.log('mat4?', mat4);
{
"name": "parcel-scopehoist-bug",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "parcel build --public-url ./ --no-minify --no-source-maps --experimental-scope-hoisting index.html"
},
"author": "",
"license": "ISC",
"devDependencies": {
"gl-matrix": "^2.7.1",
"parcel-bundler": "^1.9.7",
"typescript": "^3.0.1"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment