tinytar-node10
Version:
Pure javascript implementation of POSIX TAR file format.
25 lines (22 loc) • 474 B
JavaScript
;
var webpack = require('webpack');
module.exports = {
entry: './index.js',
devtool: 'source-map',
module: {
loaders: [
{test: /\.html$/, loader: 'raw'},
{test: /\.json/, loader: 'json'}
]
},
output: {
library: 'tinyTar',
libraryTarget: 'umd'
},
plugins: [
new webpack.optimize.OccurenceOrderPlugin(),
new webpack.DefinePlugin({
'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV)
})
]
};