Skip to content

Issue webpack bundling loopback #2

Description

@joslui

Hi, good morning! I have an issue, generating the bundled file with the plugin. Please guys if you have any cue how to solve this, will be appreciated. Regards.

WARNING in .//loopback-boot/browser.js
Critical dependencies:
28:21-40 the request of a dependency is an expression
@ ./
/loopback-boot/browser.js 28:21-40

WARNING in .//loopback-boot/lib/compiler.js
Critical dependencies:
393:17-42 the request of a dependency is an expression
419:34-58 the request of a dependency is an expression
443:19-36 the request of a dependency is an expression
566:10-27 the request of a dependency is an expression
756:21-38 the request of a dependency is an expression
@ ./
/loopback-boot/lib/compiler.js 393:17-42 419:34-58 443:19-36 566:10-27 756:21-38

WARNING in .//loopback-boot/lib/config-loader.js
Critical dependencies:
124:17-27 the request of a dependency is an expression
@ ./
/loopback-boot/lib/config-loader.js 124:17-27

WARNING in .//ejs/ejs.js
Critical dependencies:
1:113-120 This seems to be a pre-built javascript file. Though this is possible, it's not recommended. Try to require the original source to get better results.
@ ./
/ejs/ejs.js 1:113-120

ERROR in .//loopback/lib/loopback.js
Module not found: Error: Cannot resolve module 'webpack/node_modules/node-libs-browser/mock/empty' in /var/www/loopback2/cms/node_modules/loopback/lib
@ ./
/loopback/lib/loopback.js 8:9-22

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions