Skip to content

Commit

Permalink
Add netlify files
Browse files Browse the repository at this point in the history
  • Loading branch information
jstarry committed Aug 1, 2019
1 parent 7979be0 commit 14bb726
Show file tree
Hide file tree
Showing 8 changed files with 57 additions and 137 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -5,7 +5,7 @@
<strong>A template for kick starting a Rust and WebAssembly project using <a href="https://github.com/rustwasm/wasm-pack">wasm-pack</a>.</strong>

<p>
<a href="https://travis-ci.org/rustwasm/wasm-pack-template"><img src="https://img.shields.io/travis/rustwasm/wasm-pack-template.svg?style=flat-square" alt="Build Status" /></a>
[![Netlify Status](https://api.netlify.com/api/v1/badges/5ba03ba7-ff8b-4c54-94e7-cd5fd76a6737/deploy-status)](https://app.netlify.com/sites/yew-todomvc/deploys)
</p>

<h3>
Expand Down
1 change: 1 addition & 0 deletions netlify/1.todomvc.js

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions netlify/index.html
@@ -0,0 +1,12 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Yew • TodoMVC</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/todomvc-common@1.0.5/base.css"/ >
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/todomvc-app-css@2.1.2/index.css" />
</head>
<body>
<script src="/todomvc.js"></script>
</body>
</html>
1 change: 1 addition & 0 deletions netlify/todomvc.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added netlify/todomvc.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion static/index.html
Expand Up @@ -7,6 +7,6 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/todomvc-app-css@2.1.2/index.css" />
</head>
<body>
<script src="/static/todomvc.js"></script>
<script src="/todomvc.js"></script>
</body>
</html>
1 change: 0 additions & 1 deletion webpack.config.js
Expand Up @@ -14,7 +14,6 @@ module.exports = (env, argv) => {
output: {
path: distPath,
filename: "todomvc.js",
publicPath: '/static/',
webassemblyModuleFilename: "todomvc.wasm"
},
plugins: [
Expand Down

0 comments on commit 14bb726

Please sign in to comment.