Remove time series benchmark since functions moved to the backend

This commit is contained in:
Alexander Zobnin
2021-08-10 10:24:52 +03:00
parent 53c44e1764
commit bea87fdf4e
5 changed files with 20 additions and 535 deletions

View File

@@ -1,37 +0,0 @@
const path = require('path');
const baseWebpackConfig = require('./webpack.base.conf');
const CleanWebpackPlugin = require('clean-webpack-plugin');
function resolve(dir) {
return path.join(__dirname, '..', dir);
}
var conf = baseWebpackConfig;
conf.mode = 'development';
conf.entry = {
'datasource-zabbix/benchmarks/timeseries_bench': './datasource-zabbix/benchmarks/timeseries_bench.js',
};
conf.output = {
filename: "[name].js",
path: resolve('tmp/dist'),
libraryTarget: "commonjs2"
};
conf.plugins = [
new CleanWebpackPlugin(['tmp'], {
root: resolve('.')
}),
];
conf.module.rules = [
{
test: /\.js$/,
exclude: /(external)/,
use: {
loader: 'babel-loader',
query: {
presets: ['babel-preset-env']
}
}
},
];
module.exports = baseWebpackConfig;