export function webpack(config) { config.resolve.fallback = { ...config.resolve.fallback, fs: false } config.output = 'export' return config }