diff --git a/components/src/node-main/webpack.config.js b/components/src/node-main/webpack.config.js index 506001ff2..ea41c8c12 100644 --- a/components/src/node-main/webpack.config.js +++ b/components/src/node-main/webpack.config.js @@ -7,6 +7,11 @@ const package = PACKAGE( __dirname // our directory ); -package.output.libraryTarget = 'this'; // make node-main.js exports available to caller +// make node-main.js exports available to caller +package.output.library = { + name: 'init', + type: 'commonjs', + export: 'init' +}; module.exports = package;