Comcast / Comcast/patternlab-edition-node-webpack

MIME type error

Abierto
#31 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
128
Forks
92
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

## 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!

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.