UNPKG

react-speech

Version:

React component for the web speech synthesis api

31 lines (29 loc) 517 B
const HtmlWebPackPlugin = require('html-webpack-plugin'); module.exports = { entry: './index.jsx', module: { rules: [ { test: /\.(js|jsx)$/, exclude: /node_modules/, use: { loader: 'babel-loader' } }, { test: /\.html$/, use: [ { loader: 'html-loader' } ] } ] }, plugins: [ new HtmlWebPackPlugin({ template: './index.html', filename: './index.html' }) ] };