mirror of
https://github.com/fluencelabs/avm-runner-background
synced 2025-04-24 23:42:16 +00:00
23 lines
574 B
JavaScript
23 lines
574 B
JavaScript
// Generated using webpack-cli https://github.com/webpack/webpack-cli
|
|
|
|
const config = require('./webpack.config.js');
|
|
|
|
module.exports = () => {
|
|
const cfg = config();
|
|
cfg.output.filename = 'node.js';
|
|
cfg.target = 'node';
|
|
//
|
|
// TODO: we want to reuse code from node_modules
|
|
// instead of bundling AVM inside base64
|
|
// ||
|
|
// \/
|
|
// cfg.externals = [
|
|
// {
|
|
// ['@fluencelabs/avm']: {
|
|
// root: '@fluencelabs/avm',
|
|
// },
|
|
// },
|
|
// ];
|
|
return cfg;
|
|
};
|