aruntk / wc-loader

:toilet: Webcomponents webpack loader.
MIT License
99 stars 17 forks source link

Loader fails to compile polymer.html #29

Open mvinayakam opened 6 years ago

mvinayakam commented 6 years ago

Hello

I am facing issues with the wc-loader. See error message here

ERROR in Error: Child compilation failed: Module not found: Error: Can't resolve './bower_components/polymer/polymer.html' in '/Users/vinayakam.murugan/Projects/demo-pwa/src': Error: Can't resolve './bower_components/polymer/polymer.html' in '/Users/vinayakam.murugan/Projects/demo-pwa/src' Module not found: Error: Can't resolve './bower_components/webcomponentsjs/webcomponents-lite.js' in '/Users/vinayakam.murugan/Projects/demo-pwa/src': Error: Can't resolve './bower_components/webcomponentsjs/webcomponents-lite.js' in '/Users/vinayakam.murugan/Projects/demo-pwa/src' Module not found: Error: Can't resolve './custom_components/media-list/media-list.html' in '/Users/vinayakam.murugan/Projects/demo-pwa/src': Error: Can't resolve './custom_components/media-list/media-list.html' in '/Users/vinayakam.murugan/Projects/demo-pwa/src'

Here is the base project with an older webpack config - https://github.com/simpleharshit/demo-pwa

Attached is my latest webpack config.

webpack.config.js.zip

aruntk commented 6 years ago

@mvinayakam Sorry for the delayed response. Could you share your package.json as well? I'm not able to reproduce the issue using https://github.com/aruntk/polymer-webpack-demo

mvinayakam commented 6 years ago

Thanks. Please find attached.

Warm Regards


Vinayak

On Tue, Oct 31, 2017 at 8:47 AM, Arun Kumar T K <notifications@github.com>
wrote:

> @mvinayakam <https://github.com/mvinayakam> Sorry for the delayed
> response. Could you share your package.json as well? I'm not able to
> reproduce the issue using https://github.com/aruntk/polymer-webpack-demo
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <https://github.com/aruntk/wc-loader/issues/29#issuecomment-340648106>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ADb4hDY6vyMrnluHltcqx9Ng92SEnH-bks5sxpFDgaJpZM4P5Rtt>
> .
>