-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple declarations of "goog.string" with webpack and Soy #251
Comments
/cc @jbalsas @brunobasto |
Hey @pipiobjo, both entries in your configuration You should be able to either extract I'll work to provide a working scenario tomorrow morning, but maybe this can get you going. |
Closing as we're using this across projects. Please, @pipiobjo, let us know if this didn't work for you so we can better help you with it! |
Hi,
I evaluating metaljs for our liferay project and we try to build liferay independent metal components.
And we struggling with placing multiple metal components on one page.
I get following error:
LoadingAnimator.js:7893 Uncaught Error: Namespace "goog.string" already declared. at Object.goog.provide (LoadingAnimator.js:7893) at LoadingAnimator.js:9817 at Object.<anonymous> (LoadingAnimator.js:12259) at Object.defineProperty.value (LoadingAnimator.js:12260) at __webpack_require__ (LoadingAnimator.js:21) at Object._typeof (LoadingAnimator.js:7329) at __webpack_require__ (LoadingAnimator.js:21) at Object.defineProperty.value (LoadingAnimator.js:62) at __webpack_require__ (LoadingAnimator.js:21) at Object.defineProperty.value (LoadingAnimator.js:41)
I started with the sample project from here https://github.com/metal/metal-examples/tree/master/custom-build/webpack
I provide a sample project for reproduction:
https://github.com/pipiobjo/metaljs-webpack
I didnt test if this also appears with other build mechanism.
If you need more information, I will try to help ;-)
The text was updated successfully, but these errors were encountered: