Most voted "webpack" questions
_Webpack_ is a module compiler. Its main purpose is to group Javascript files for use in a browser, but it is also able to transform, compile and group basically any other type of file or resource, such as `Sass`, `Less`, `css`, `html` among others.
Learn more…73 questions
Sort by count of
-
0
votes2
answers336
viewsInstall Startbootstrap-SB-Admin using Yarn
I am creating a skeleton base for my applications and I intend to use Symfony 4 and Startbootstrap-SB-Admin. I already have a skeleton design using Symfony 3 and SB-Admin-2 and another with Silex.…
-
0
votes0
answers51
viewsProblems to ignore URL in CSS
As I do in Webpack for it to ignore content with images within the URL, e.g.. background-image: url("../img/marker.png"); I have a SASS file with this content: // Fonts @import…
webpackasked 6 years, 8 months ago Joao Nivaldo 1,229 -
0
votes1
answer44
views(Extract-text-webpack-plugin) error [1] "Loader" must be a string
after I did the installation of Extract-text-webpack-plugin started to return me the error erro [1] "loader" must be a string follows my webpack configuration 'use strict' const path =…
-
0
votes0
answers55
viewsAngular Compiler was Detected but it was an instance of the Wrong class
I am currently working on a project, consuming a Rest api from the angular, but in the process, I am encountering an error that is returning me that I have 2 webpack packages within my application.…
-
0
votes1
answer405
viewsHow to use Material Icons with next.js?
import Link from 'next/link'; import MaterialIcon from 'material-icons-react'; const Header = (props) => { return ( <nav> <ul> {navOptions.map(nav => ( <li> <Link…
-
0
votes1
answer68
viewsLoad scss from js file
I am working on a static website, where I have the following directory structure: / /src exemplo.scss exemplo.js index.html webpack.config.js In my exemplo.js i give a require('exemplo.scss'), which…
-
0
votes0
answers173
viewsjQuery $ is not a function/is not set
Good morning, you guys. I’ve been trying to solve this for some time but without success. It seems that jQuery is not being loaded or assigned in $, jQuery. Below are some snippets of code to…
-
0
votes1
answer945
viewsError in npm run dev
I’m trying to execute command npm run dev in a project developed by another person. This is the configuration in package.json: "scripts": { "dev": "npm run development", "development": "cross-env…
-
0
votes1
answer56
viewsFlask template with nodejs and webpack
I have no experience with the "new" front-end technologies. I have always devoted more to the back. Question: You can work with flask (Jinja) templates using Node + webpack to develop the front?…
-
0
votes1
answer43
viewsInstalling Babel-cli and live-server locally
I am installing Babel-cli and live-server locally, however, it is giving a problem saying that: run `npm audit fix` to fix 3 of them. 1 vulnerability requires manual review. See the full report for…
-
0
votes1
answer30
viewsError trying to generate Webpack
It has a project that uses webpack along with nodejs and angular, but when trying to use the "webpack" command on the terminal to generate the webpack Bundles it displays the following error…
-
0
votes1
answer256
viewsStyled-Component does not activate style
I’m making a clone of Discord, on TSX, using Styled Components. However when I create the Tyled.ts, I notice by the indentation that the style was not applied. Meu Json: How does it look: As it…
-
0
votes0
answers65
viewsHow can I set up multiple HTML pages in subfolders with webpack?
I have an application with multiple pages and am using webpack to package js, css and images. I am using Htmlwebpackplugin to create dist html files and I have a Function map to load multiple html…
-
0
votes1
answer286
viewsNext.js does not load jsx
Recently I’ve been researching about Next, the js framework of the moment, and I want to start training with it with some projects. The problem is it doesn’t run on my computer, no matter what I do.…
-
0
votes0
answers25
viewsUse Angular 8 with angular/core in webpack.Exports externals
I am with an Angular 8 project and would like to get the javascript files of a CDN. For example, I have rxjs and instead of it being part of the build, I would like it to be obtained in Runtime from…
-
0
votes0
answers44
viewsI am with this error and I cannot solve it, can anyone help me? Cannot find module 'webpack-cli/bin/config-yargs' [closed]
I’m new in Act.js, well the point is I can’t find the solution to the problem below, I’ve tried other versions of Node.js and webpack-dev-server itself, but also unsuccessfully. This is my…
-
0
votes0
answers27
viewsES6 package only works on first load - webpack
I built a package based on CSS3 / CSS4, HTML5 and its Apis, the package contains 101 files and uses promises to differentiate the files and measure its priority, at the end of a promise, you may or…
-
0
votes0
answers82
viewsLaravel 8 Jetstream hot Reload and Sync browser do not work
Greetings to all, I have a big problem in a system that I just created. I did the standard installation of Laravel 8 with Jetstream using Docker and sail... But I can’t seem to do the npm run hot or…
-
0
votes0
answers26
viewsNode.js| problem when serving files from dist folder generated by webpack
I have a web application that uses Webpack to package the files. After running the "npm run build" command the webpack generates a dist folder containing the bundled files. The application worked…
-
0
votes0
answers5
viewsHow to fix error with webpack in Vue : Expected an Identifier but found '(' Instead
I have a project done in Vue, it occurs that it compiles without problems, runs in Chrome, but when I test in Safari, generates an error: Expected an Identifier but found '(' Instead In the Safari…
-
-1
votes1
answer365
viewsWhy use a packer like Webpack?
I was talking to a friend about the flash and how all the code is compiled in a single file and "zuamos" about the "1tera" that the user has to download, of course, exaggerating... But then a…
-
-1
votes1
answer154
viewsLaravel-mix error in syntax when there is none
Good evening guys, I’m trying to run NPM RUN DEV and when I do he accuses a mistake that doesn’t make sense to me (despite being a total beginner in Latin). [webpack-cli]…
-
-4
votes1
answer85
viewsHow to create an application in Vue?
I am trying to follow the instructions of this site to create an application in Vue: Link The problem is that I don’t understand what it needs me to do first. Should I download the file from github?…