pgadmin4/web/pgadmin/static/js/pgadmin.fonticon.js
Aditya Toshniwal 1317e4254b Updated the JS dependencies to the latest
1) Migrate from webpack 4 to webpack 5. This had a lot of breaking changes,
   so updated multiple webpack plugins and changed the config accordingly.
2) Replaced iconfont-webpack-plugin with a more maintained webfonts-loader.
3) Replaced deprecated babel-eslint with @babel/eslint-parser.
4) Replaced optimize-css-assets-webpack-plugin with a more maintained css-minimizer-webpack-plugin.
5) Updated all other JS packages and made the required code changes.

Fixes #6207
2021-02-10 12:47:52 +05:30

12 lines
242 B
JavaScript

module.exports = {
'files': [
'../img/fonticon/*.svg',
],
'css': false,
'fontName': 'pgfonticon',
'classPrefix': 'icon-',
'baseSelector': '.pg-font-icon',
'types': ['eot', 'woff', 'woff2', 'ttf', 'svg'],
'embed': true,
};