symbols-of-currency
Version:
Getting the currency symbol by currency code, country name or currency name
27 lines (24 loc) • 570 B
JavaScript
const path = require('path');
module.exports = {
mode: 'production',
entry: './src/index.ts',
output: {
filename: 'symbols-of-currency.js',
path: path.resolve(__dirname, 'dist'),
clean: true,
library: 'soc',
libraryTarget: 'umd',
umdNamedDefine: true
},
devtool: 'inline-source-map',
module: {
rules: [{
test: /\.tsx?$/,
use: 'ts-loader',
exclude: /node_modules/,
}],
},
resolve: {
extensions: ['.tsx', '.ts', '.js'],
},
};