UNPKG

@notthatnathan/use-canvas-image

Version:

A React hook for automatically exporting a canvas to img.

18 lines (16 loc) 281 B
const path = require('path'); module.exports = { module: { rules: [ { test: /\.(js)$/, exclude: /node_modules/, use: ['babel-loader'] } ] }, output: { path: path.resolve(__dirname, './dist'), filename: 'index.js', }, };