UNPKG

percentages

Version:

Percentages: a JavaScript and PHP class for calculating percentages and rounding them through the largest remainder method

26 lines (24 loc) 427 B
const webpack = require('webpack'); const path = require('path'); const config = { entry: './example/index.js', output: { path: path.resolve(__dirname, 'example/dist'), filename: 'example.js' }, module: { rules: [ { test: /\.js$/, use: 'babel-loader', exclude: /node_modules/ } ] }, resolve: { extensions: [ '.js' ] } }; module.exports = config;