mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-26 08:39:04 -05:00
Merge pull request #131 from TomAFrench/silence-moment-errors
Silence warning for missing moment.js install
This commit is contained in:
@@ -518,6 +518,10 @@ module.exports = function(webpackEnv) {
|
||||
// https://github.com/jmblog/how-to-optimize-momentjs-with-webpack
|
||||
// You can remove this if you don't use Moment.js:
|
||||
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
|
||||
// Pikaday throws a warning if Moment.js is not installed however it doesn't
|
||||
// actually require it to be installed. As we don't use Moment.js ourselves
|
||||
// then we can just silence this warning.
|
||||
new webpack.IgnorePlugin(/moment$/, /pikaday$/),
|
||||
!(isEnvDevelopment || process.env.PERF_BUILD) &&
|
||||
new webpack.IgnorePlugin(/perf-deets\/frontend/),
|
||||
// Generate a service worker script that will precache, and keep up to date,
|
||||
|
||||
Reference in New Issue
Block a user