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() - ] -};