UNPKG

pubnub-vue

Version:

Publish & Subscribe Real-time Messaging with PubNub

26 lines (23 loc) 514 B
let StatsPlugin = require('stats-webpack-plugin'); let config = { module: { loaders: [ { test: /\.json/, loader: 'json' }, { test: /\.js$/, exclude: /(node_modules|bower_components)/, loader: 'babel' } ], }, output: { filename: 'pubnub-vue.js', library: 'PubNubVue', libraryTarget: 'umd', }, plugins: [ new StatsPlugin('stats.json', { chunkModules: true, exclude: ['node_modules'] }) ], externals: [], profile: true }; module.exports = config;