actual/packages/loot-core/webpack/webpack.api.config.js
2022-08-22 22:51:01 -04:00

14 lines
376 B
JavaScript

let webpack = require('webpack');
let config = require('./webpack.desktop.config');
config.resolve.extensions = ['.api.js', '.electron.js', '.js', '.json'];
config.output.filename = 'bundle.api.js';
config.output.sourceMapFilename = 'bundle.api.js.map';
config.plugins.push(
new webpack.DefinePlugin({
ACTUAL_APP_VERSION: '"0.0.147"'
})
);
module.exports = config;