UNPKG

pusher-js

Version:

Pusher Channels JavaScript library for browsers, React Native, NodeJS and web workers

27 lines (24 loc) 651 B
const { merge } = require('webpack-merge'); const webpack = require('webpack'); const commonConfig = require('./config.common'); module.exports = merge({}, commonConfig, { files: [ '**/spec/javascripts/integration/index.web.js' ], preprocessors: { '**/spec/javascripts/integration/index.web.js': ['webpack'] }, webpack: { resolve: { modules: ['spec/javascripts/helpers/web'], alias: { integration: 'web/integration' } }, plugins: [ new webpack.DefinePlugin({ 'process.env.MINIMAL_INTEGRATION_TESTS': JSON.stringify(process.env.MINIMAL_INTEGRATION_TESTS), }) ], } });