1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-11-21 17:56:45 +02:00
pigallery2/angular.webpack.js
2022-11-25 22:56:33 +01:00

17 lines
353 B
JavaScript

// eslint-disable-next-line @typescript-eslint/no-var-requires,no-undef
const webpack = require('webpack');
/**
* Custom angular webpack configuration
*/
module.exports = (config, options) => {
config.plugins = [
...config.plugins,
new webpack.IgnorePlugin({
resourceRegExp: /config\/private\/Config/,
})
];
return config;
}