UNPKG

react-native-emojipicker

Version:
25 lines (23 loc) 612 B
const HtmlWebpackPlugin = require('html-webpack-plugin') module.exports = { entry: ['./example/index.js'], devtool: 'inline-source-map', output: { filename: 'bundle.js', publicPath: '' }, module: { rules: [ { test: /\.js$/, use: [ { loader: 'babel-loader', options: { presets: ['@babel/preset-env', '@babel/react'] } } ], exclude: /node_modules/, } ] }, resolve: { alias: { 'react-native$': 'react-native-web' } }, plugins: [ new HtmlWebpackPlugin({ title: 'react infinite loader example', template: './example/index.html' }) ], }