- Add isSyncing state to fetchTasks() so spinner shows during task/list loading - Remove !task.completed filter from getTasksForDate — completed tasks now stay visible with strikethrough instead of vanishing - Inject package.json version into NEXT_PUBLIC_APP_VERSION via next.config.js so the Settings > About tab always shows the current version v1.1.1 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
23 lines
559 B
JavaScript
23 lines
559 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const { version } = require('./package.json');
|
|
|
|
const nextConfig = {
|
|
env: {
|
|
NEXT_PUBLIC_APP_VERSION: version,
|
|
},
|
|
experimental: {
|
|
serverComponentsExternalPackages: ['ical.js', 'tsdav', 'apple-icloud'],
|
|
},
|
|
webpack: (config, { isServer }) => {
|
|
// Ignore .md files in node_modules (fixes apple-icloud README.md parse error)
|
|
config.module.rules.push({
|
|
test: /\.md$/,
|
|
include: /node_modules/,
|
|
type: 'asset/source',
|
|
});
|
|
return config;
|
|
},
|
|
};
|
|
|
|
module.exports = nextConfig;
|