Category: webpack

You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file with webpack 4

I am tryiyng to run a project with webpack. I am getting following error: bootstrap:83 Uncaught Error: Module parse failed: Unexpected token (22:66) You may need an appropriate loader to handle this file type, currently no loaders are configured to…

Webpack error : sockjs-node error and net::ERR_SSL_PROTOCOL_ERROR and [WDS] Disconnected

i get this error when i go on https://localhost:8000/ Hello Test !! Edit me in assets/js/app.js GET https://localhost:8080/sockjs-node/info?t=1578173001337 net::ERR_SSL_PROTOCOL_ERROR sockjs.js:1606 [WDS] Disconnected! client:172 GET https://localhost:8080/sockjs-node/info?t=1578173002702 net::ERR_SSL_PROTOCOL_ERROR sockjs.js:1606 GET https://localhost:8080/sockjs-node/info?t=1578173005086 net::ERR_SSL_PROTOCOL_ERROR sockjs.js:1606 GET https://localhost:8080/sockjs-node/info?t=1578173009503 net::ERR_SSL_PROTOCOL_ERROR sockjs.js:1606 … my package.json : {…

Simplemodal on Symfony Webpack

I’m trying to implement simplemodal (https://www.ericmmartin.com/projects/simplemodal/) on my Symfony project compiling assets with Webpack. I’ve downloaded and added to my ‘assets’ folder. This is my webpack config: .addEntry(‘app’, [ ‘./assets/js/jquery.simplemodal.js’, ‘./assets/js/app.js’, ]) An I have uncommented .autoProvidejQuery() Then in app.js:…

Symfony configureBabel(). The code generator has deoptimised the styling of *filePath* as it exceeds the max of 500KB

Created a project via Symfony and Webpack. I’m getting an error while compiling : “[BABEL] Note: The code generator has deoptimised the styling of [filePath] as it exceeds the max of 500KB.” JS file, which causes error is 8Mb of…