UNPKG

react-pathfinder

Version:

A React-based Library, which can be used for developing keyboard/remote controller handling in SPA and smartTV apps

25 lines (24 loc) 480 B
var path = require("path"); module.exports = { entry: "./lib/index.js", output: { path: path.resolve(__dirname, "dist"), filename: "index.js", libraryTarget: "commonjs2" }, module: { rules: [ { test: /\.js$/, include: path.resolve(__dirname, "lib"), exclude: /(node_modules|bower_components|dist)/, use: { loader: "babel-loader" } } ] }, externals: { react: "commonjs react" } };