wings4
Version:
A FeathersJS 4-Way reactive data sync for any frontend framework
29 lines (27 loc) • 510 B
JavaScript
const path = require('path');
module.exports = {
mode: 'production',
entry: './wings4.js',
output: {
path: path.resolve('dist'),
filename: 'index.js',
library: 'wings',
libraryTarget: 'umd',
},
module: {
rules: [
{
test: /\.js?$/,
exclude: /(node_modules)/,
use: 'babel-loader',
},
{
test: /\.(aff|dic)$/i,
use: 'raw-loader',
},
],
},
resolve: {
extensions: ['.js'],
},
};