vscode-plugin icon indicating copy to clipboard operation
vscode-plugin copied to clipboard

Does not work with polymer serve

Open jhorback opened this issue 8 years ago • 2 comments

Using relative links to the components directory (i.e. bower_components) causes "Unable to import" errors in vscode.

Could there be a setting to inform the vscode-plugin the component directory path?

jhorback avatar Dec 31 '16 00:12 jhorback

This seems reasonable. We could use or create a field in polymer.json for configuring this

rictic avatar Feb 23 '17 10:02 rictic

My current workaround is just to use the full path to the bower_components folder.

Example:

Then in our build process we just strip out the "bower_components/" part.

But this feature could be nice. Love the plugin; great work!

jhorback avatar Feb 23 '17 15:02 jhorback