UNPKG

kitchensink

Version:

Dispatch's awesome components and style guide

30 lines (26 loc) 585 B
'use strict'; var webpack = require('webpack'); var kitchensinkExternals = { root: 'Kitchensink', commonjs2: 'kitchensink', commonjs: 'kitchensink', amd: 'kitchensink' }; module.exports = { externals: { 'kitchensink': kitchensinkExternals, }, module: { loaders: [ { test: /\.js$/, loaders: ['babel-loader'], exclude: /node_modules/ }, { test: /\.jsx$/, loaders: ['babel-loader'], exclude: /node_modules/ }, ], }, output: { library: 'Kitchensink', libraryTarget: 'umd', }, resolve: { extensions: ['', '.js', '.jsx'], }, };