We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 480d44b + 3d5fe94 commit 17d3a83Copy full SHA for 17d3a83
1 file changed
components/src/node-main/webpack.config.js
@@ -7,6 +7,11 @@ const package = PACKAGE(
7
__dirname // our directory
8
);
9
10
-package.output.libraryTarget = 'this'; // make node-main.js exports available to caller
+// make node-main.js exports available to caller
11
+package.output.library = {
12
+ name: 'init',
13
+ type: 'commonjs',
14
+ export: 'init'
15
+};
16
17
module.exports = package;
0 commit comments