mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
17 lines
353 B
JavaScript
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;
|
||
|
}
|