Create a gist now

Instantly share code, notes, and snippets.

@kytiken /index.html
Last active Oct 17, 2016

What would you like to do?
javascript 3*0.1=0.30000000000000004
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>math.js sample</title>
<script src="./bundle.js"></script>
</head>
<body>
</body>
</html>
document.write(3*0.1);
{
"name": "sample",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"webpack": "^1.13.2"
}
}
module.exports = {
entry: './index.js',
output: {
path: './',
filename: 'bundle.js',
publicPath: ''
},
module: {
loaders: []
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment