I'm using Webpack for the first time. Currently everything is being served up quite nicely. My problem is when I'm trying to build a dist folder. Currently I get my index.html and bundle.js files but I can't figure out how to push my asse...
I'm trying to split my json files (2 files) into separated chunks. I was able to do it, but there is a "con".  Those json's are converted into .js by webpack, that's why I added a file-loader to .json files, however the await impo...
I used a awesome boilerplate for react application, I wanna to use media like pictures or videos and fonts in my application. the reference link is here.   How to config all required resources with react. I am getting error after add assets configura...
I am trying to get Webpack 4 to output a .png file into /dist/assets, and have that be used by my index.html file via file-loader.  The .png file does output into dist/assets, but it does not get loaded in by the browser. Funny thing, I treat my .png...
I am trying to load a jpg image file using Webpack, but I keep getting the following error: Uncaught Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js): ModuleParseError: Module parse failed: Unexpected character...
I am trying to create a music player that will simply play a mp3 file.  I do not know how to serve the mp3 file through webpack to the Audio Element constructor. I have set up a file-loader for mp3 files in webpack. Providing the relevant url to the...
I've been trying for hours and have no success when importing material design iconic fonts using webpack.  My webpack.config.js  ... module: {     rules: [         {             test: /\.css$/,             use: [                 {loader: "sty...
I have tried looking this up for days and nothing seems to be working. I have a Webpack that isn't properly loading my images. In the network tab, my images are coming back as a 200 response, but when I load the page, the image appears broken....
I'm loading assets with file-loader in Webpack3 and everything works well for common images types but when I try to load videos (MP4, MOV ...) it seems that it can't detect those. Here's the code to load assets in my webpack.config file:...
I've developed a library which has some images.  I'm using file-loader in order to export them in my production into a res folder. So my distribution folder look as follow  ./dist --- my.core.js --- my.core.css --+ res      --- img1.png...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.