pkg: remove build.

This commit is contained in:
Christopher Jeffrey 2018-07-19 02:13:57 -07:00
parent 3fc9ad3a9c
commit 141b6ac705
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD
2 changed files with 0 additions and 48 deletions

View File

@ -1,19 +0,0 @@
all:
@npm run browserify
browserify:
@npm run browserify
webpack:
@npm run webpack
clean:
@npm run clean
lint:
@npm run lint
test:
@npm test
.PHONY: all browserify webpack clean lint test

View File

@ -1,29 +0,0 @@
'use strict';
const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
module.exports = {
target: 'web',
entry: {
'bcfg': './lib/bcfg'
},
output: {
library: 'bcfg',
libraryTarget: 'umd',
path: __dirname,
filename: '[name].js'
},
resolve: {
modules: ['node_modules'],
extensions: ['-browser.js', '.js', '.json']
},
module: {
rules: [{
test: /\.js$/,
loader: 'babel-loader'
}]
},
plugins: [
new UglifyJsPlugin()
]
};