UNPKG

react-text-raw-html

Version:

Npm package for extracting content data from html raw data

28 lines (27 loc) 547 B
var path = require('path'); module.exports = { entry: './src/index.js', output: { path: path.resolve(__dirname, 'build'), filename: 'index.js', libraryTarget: 'commonjs2' }, module: { rules: [ { test: /\.js$/, include: path.resolve(__dirname, 'src'), exclude: /(node_modules|bower_components|build)/, use: { loader: 'babel-loader', options: { presets: ['env'] } } } ] }, externals: { 'react': 'commonjs react' } };