actual/packages/loot-core/webpack/webpack.api.config.js

15 lines
376 B
JavaScript
Raw Normal View History

2022-04-29 02:44:38 +00:00
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;