Comcast / Comcast/patternlab-edition-node-webpack

MIME type error

オープン
#31 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
128
フォーク
92
PR マージ指標
30日以内にマージされた PR はありません

説明

## I found the following issue:

I'm getting a `Refused to execute script from '' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.` error and can't seem to get the pattern library to see the files in /js.

Just wondering if there's something that could be done. I'm trying to add some javascript to build out more patterns but am stuck at this spot. Googling the error code hasn't led to any specific fix that would work with the way this pattern library app is setup. The app seems to run fine but the included js files aren't being seen:
![image](https://user-images.githubusercontent.com/1877436/43011257-83fee9d8-8c08-11e8-8f7e-89b1e6eb0167.png)

Explicitly setting `type="application/javascript"` hasn't helped either.

Any help would be greatly appreciated!

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。