From 141b6ac70571e415fdb8d5550e89e5358041ce86 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Thu, 19 Jul 2018 02:13:57 -0700 Subject: [PATCH] pkg: remove build. --- Makefile | 19 ------------------- webpack.config.js | 29 ----------------------------- 2 files changed, 48 deletions(-) delete mode 100644 Makefile delete mode 100644 webpack.config.js diff --git a/Makefile b/Makefile deleted file mode 100644 index 6f3897c..0000000 --- a/Makefile +++ /dev/null @@ -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 diff --git a/webpack.config.js b/webpack.config.js deleted file mode 100644 index 0753c98..0000000 --- a/webpack.config.js +++ /dev/null @@ -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() - ] -};