mirror of
https://github.com/actualbudget/actual.git
synced 2026-05-07 20:38:54 -05:00
* Add crdt to the API package to fix types - This way we get the crdt types supported * Add release note * Cleanup yarn.lock merge
28 lines
541 B
JavaScript
28 lines
541 B
JavaScript
const path = require('path');
|
|
|
|
const config = require('./webpack.desktop.config');
|
|
|
|
config.resolve.extensions = [
|
|
'.api.js',
|
|
'.api.ts',
|
|
'.api.tsx',
|
|
'.electron.js',
|
|
'.electron.ts',
|
|
'.electron.tsx',
|
|
'.js',
|
|
'.ts',
|
|
'.tsx',
|
|
'.json',
|
|
];
|
|
config.resolve.fallback = {};
|
|
config.externals.push('@actual-app/crdt');
|
|
config.output.filename = 'bundle.api.js';
|
|
config.output.sourceMapFilename = 'bundle.api.js.map';
|
|
config.output.path = path.join(
|
|
path.dirname(path.dirname(__dirname)),
|
|
'api',
|
|
'app',
|
|
);
|
|
|
|
module.exports = config;
|