Comcast / patternlab-edition-node-webpack

The webpack wrapper around patternlab-node core, providing tasks to interact with the core library and move supporting frontend assets.
https://comcast.github.io/patternlab-edition-node-webpack/
Apache License 2.0
126 stars 95 forks source link

Javascript not available #36

Closed JosefBredereck closed 5 years ago

JosefBredereck commented 5 years ago

I found the following issue:

Hello there, I have a problem with loading Javascipt into my sites.

My footer looks like this. {{{ patternLabFoot }}}

\ \

And my folder structure is pretty the standard -- source --- js ----- main.js

When I run my pattern lab I always get a cannot find error 404. I got the same behavior for the bootstrap-starterkit.

Am I doing something wrong or is it normal that the js files aren't copied to the public folder? (there is also no css or fonts folder located in public, but I'm able to load files from there)

JosefBredereck commented 5 years ago

Ok, just realised that all of the JS sources where combined in pl-source.js. Isssue Closed