nisemono
Version:
Pretty simple test double library
21 lines (20 loc) • 433 B
JavaScript
var webpack = require('webpack');
var path = require('path');
module.exports = {
devtool: 'source-map',
entry: './',
output: {
path: path.resolve(__dirname, 'public'),
filename: 'nisemono.js',
publicPath: 'nisemono.js',
},
resolve: {
extensions: ['.js'],
},
plugins: [
new webpack.ProvidePlugin({
'nisemono': 'nisemono',
'window.nisemono': 'nisemono'
})
],
};