example: Add an example of drawing a smiley face with canvas

Adapted from https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Drawing_shapes
This commit is contained in:
Nick Fitzgerald
2018-08-15 16:56:24 -07:00
parent b8afa0abde
commit 34363aff12
10 changed files with 154 additions and 0 deletions

View File

@ -0,0 +1,10 @@
const path = require('path');
module.exports = {
entry: './index.js',
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'index.js',
},
mode: 'development'
};